Space-x and space-y utilities should exclude sr-only
class
#15408
Closed
brycekunkel
started this conversation in
Ideas
Replies: 2 comments
-
This is super, super hard unfortunately because of stuff like |
Beta Was this translation helpful? Give feedback.
0 replies
-
Definitely make sense. Thanks for responding - I'll close this one out. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Right now, the
space-x
andspace-y
utilities automatically do not apply margin to elements designated as:hidden
. Since margin is a visual change on the page, the utility could be improved by not applying margin to elements with thesr-only
class. The resulting rule might look something like this:Even better if the utility also supported other classes that remove the item from visibility on the page, like
.hidden
and.invisible
.Beta Was this translation helpful? Give feedback.
All reactions