Finalize searchbar position on different page layouts
This commit is contained in:
+9
-9
@@ -118,16 +118,16 @@ module.exports = {
|
||||
borderWidth: [ 'even', 'odd', 'first', 'last' ],
|
||||
textColor: [ 'sbw', 'sbw-hover', 'snz', 'snz-hover', 'uch', 'uch-hover' ],
|
||||
borderColor: [ 'sbw','snz', 'uch' ],
|
||||
display: ['group-hover', 'sticky'],
|
||||
display: ['group-hover', 'reduced'],
|
||||
visibility: [ 'group-hover' ],
|
||||
opacity: [ 'group-hover' ],
|
||||
rotate: [ 'group-hover' ],
|
||||
flex: [ 'sticky' ],
|
||||
flexDirection: [ 'even', 'odd', 'sticky' ],
|
||||
alignItems: [ 'sticky' ],
|
||||
padding: [ 'even', 'odd', 'first', 'last', 'sticky' ],
|
||||
margin: [ 'even', 'odd', 'first', 'last', 'sticky' ],
|
||||
maxWidth: [ 'sticky' ],
|
||||
flex: [ 'reduced' ],
|
||||
flexDirection: [ 'even', 'odd', 'reduced' ],
|
||||
alignItems: [ 'reduced' ],
|
||||
padding: [ 'even', 'odd', 'first', 'last', 'reduced' ],
|
||||
margin: [ 'even', 'odd', 'first', 'last', 'reduced' ],
|
||||
maxWidth: [ 'reduced' ],
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
@@ -151,9 +151,9 @@ module.exports = {
|
||||
})
|
||||
}),
|
||||
plugin(function ({addVariant, e}) {
|
||||
addVariant('sticky', ({modifySelectors, separator}) => {
|
||||
addVariant('reduced', ({modifySelectors, separator}) => {
|
||||
modifySelectors(({className}) => {
|
||||
return `.sticky .${e(`sticky${separator}${className}`)}`
|
||||
return `.reduced .${e(`reduced${separator}${className}`)}`
|
||||
})
|
||||
})
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user