mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Remove position sticky in ie11 mode
This commit is contained in:
parent
1117e28c5c
commit
a8e27d9728
@ -8188,10 +8188,6 @@ video {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.inset-0 {
|
||||
top: 0;
|
||||
right: 0;
|
||||
@ -19295,10 +19291,6 @@ video {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sm\:sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.sm\:inset-0 {
|
||||
top: 0;
|
||||
right: 0;
|
||||
@ -30403,10 +30395,6 @@ video {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.md\:sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.md\:inset-0 {
|
||||
top: 0;
|
||||
right: 0;
|
||||
@ -41511,10 +41499,6 @@ video {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.lg\:sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.lg\:inset-0 {
|
||||
top: 0;
|
||||
right: 0;
|
||||
@ -52619,10 +52603,6 @@ video {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.xl\:sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.xl\:inset-0 {
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
||||
@ -1,12 +1,18 @@
|
||||
export default function() {
|
||||
return function({ addUtilities, variants }) {
|
||||
return function({ addUtilities, variants, target }) {
|
||||
addUtilities(
|
||||
{
|
||||
'.static': { position: 'static' },
|
||||
'.fixed': { position: 'fixed' },
|
||||
'.absolute': { position: 'absolute' },
|
||||
'.relative': { position: 'relative' },
|
||||
'.sticky': { position: 'sticky' },
|
||||
...(target('position') === 'ie11'
|
||||
? {}
|
||||
: {
|
||||
'.sticky': {
|
||||
position: 'sticky',
|
||||
},
|
||||
}),
|
||||
},
|
||||
variants('position')
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user