mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
34 lines
601 B
JavaScript
34 lines
601 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _default;
|
|
|
|
function _default() {
|
|
return function ({
|
|
addUtilities,
|
|
variants,
|
|
target
|
|
}) {
|
|
addUtilities({
|
|
'.static': {
|
|
position: 'static'
|
|
},
|
|
'.fixed': {
|
|
position: 'fixed'
|
|
},
|
|
'.absolute': {
|
|
position: 'absolute'
|
|
},
|
|
'.relative': {
|
|
position: 'relative'
|
|
},
|
|
...(target('position') === 'ie11' ? {} : {
|
|
'.sticky': {
|
|
position: 'sticky'
|
|
}
|
|
})
|
|
}, variants('position'));
|
|
};
|
|
} |