For inFront elements, only have a zindex on those attached to the root element.

This commit is contained in:
mdgriffith 2020-05-22 09:04:28 -04:00
parent fe2b14b87e
commit a37f0bfe65

View File

@ -988,6 +988,7 @@ baseSheet =
, Child (dot classes.inFront) , Child (dot classes.inFront)
[ Descriptor (dot classes.nearby) [ Descriptor (dot classes.nearby)
[ Prop "position" "fixed" [ Prop "position" "fixed"
, Prop "z-index" "20"
] ]
] ]
] ]
@ -1077,7 +1078,6 @@ baseSheet =
, Prop "left" "0" , Prop "left" "0"
, Prop "top" "0" , Prop "top" "0"
, Prop "margin" "0 !important" , Prop "margin" "0 !important"
, Prop "z-index" "20"
, Prop "pointer-events" "none" , Prop "pointer-events" "none"
, Child "*" , Child "*"
[ Prop "pointer-events" "auto" [ Prop "pointer-events" "auto"