-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip RTL for Separator spacing #21525
Conversation
This PR removes padding flipping for dots, since they will still render LTR in mobile before:
Size Change: -1 B Total Size: 903 kB
ℹ️ View Unchanged
|
Can you clarify this, if they do the same thing, it shouldn't be broken, just duplicated right? |
if a theme copies these styles to define another value for padding padding-left: 1em; it RTL that value will be flipped plus the original one coming from default styles padding-left: 2em; //original
padding-right: 1em; |
This assumes the theme has RTL support. Very few do I believe. I'm not 100% this PR deserves a dev note. |
No strong feelings here, happy to merge as is. |
This PR removes padding flipping for dots, since they will still render LTR in mobile
Before:
After:
Some themes also override this value, and they apply the same style, the styles will now be broken on mobile for them, so a dev note should also be included.
possibly something like this?