Higher z-index than 50 - Something like z-full
or z-max
#2275
jenstornell
started this conversation in
Ideas
Replies: 1 comment
-
The problem with I think we should discourage a use of high index values, so 👎 from me. In those rare cases when you must use high indices, just add them to your config 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Max
z-index
is50
. (I know we can extend it ourselves)When using external libraries, for example Leaflet (openstreetmap), they use a
z-index
of800
for their zoom buttons.Maximum
z-index
is 2147483647 but it's not very common to go that high.Solution
Add something like
z-full
orz-max
to make sure the element will be placed on top. That way you don't need to implement that many new numbers. It would still be enough to take care of these cases quite well.Beta Was this translation helpful? Give feedback.
All reactions