fix: sticky compatibility issue
This commit is contained in:
parent
300e5e6932
commit
aea2f30ffe
1 changed files with 4 additions and 0 deletions
|
@ -243,6 +243,10 @@ table {
|
|||
*/
|
||||
@mixin flex-sticky($top) {
|
||||
position: sticky;
|
||||
position: -moz-sticky; /* <-- fix sticky compatibility issue */
|
||||
position: -ms-sticky;
|
||||
position: -o-sticky;
|
||||
position: -webkit-sticky;
|
||||
align-self: flex-start; /* <-- fix the sticky not work issue */
|
||||
transform: scale(0.9999); /* <-- fix the sticky x overflow issue */
|
||||
top: $top;
|
||||
|
|
Loading…
Reference in a new issue