-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
feat(dialog): 8px margin between dialog action buttons #5283
Conversation
According to https://material.io/guidelines/components/dialogs.html#dialogs-specs there should be a margin of 8px between action buttons.
@crisbeto thoughts? Maybe this case is specific enough that the margins make sense, but I could still see it being intrusive in some cases |
I think that they make sense, but they'll look off in RTL @karlhaas. |
Is there a way to find out (in scss) if rtl is used? Something like fxLayoutGap could work well. We use fxLayoutGap in our projet to solve it but i thought it should work out of the box ... |
You can use the |
@crisbeto it is always just a margin between two action buttons. in my opinion it makes no difference ... |
It does make a difference. When it is in RTL or |
thx @crisbeto for the explanation |
Based on the spec, buttons inside the dialog actions are supposed to have a margin. This is follow-up from angular#5283.
Based on the spec, buttons inside the dialog actions are supposed to have a margin. This is follow-up from angular#5283.
Based on the spec, buttons inside the dialog actions are supposed to have a margin. This is follow-up from #5283.
Based on the spec, buttons inside the dialog actions are supposed to have a margin. This is follow-up from #5283.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
According to https://material.io/guidelines/components/dialogs.html#dialogs-specs there should be a margin of 8px between action buttons.