Modal header: change default justify-content from space-between to start #39370
Unanswered
MarkoOleksiyenko
asked this question in
General
Replies: 1 comment 1 reply
-
Hello @MarkoOleksiyenko |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, for the modal header I see that the default justify-content value is set to 'space-between' (https://github.com/twbs/bootstrap/blob/main/scss/_modal.scss#L129).
This makes the content be positioned on the opposite sides of the modal if the 'cross button' is removed and we have composite title with icon, for example.
I see that the button position is actually computed independently in: https://github.com/twbs/bootstrap/blob/main/scss/_modal.scss#L136
So the line with justify-content seems to be useless and it feels like removing it will be better (it should use the justify-content: start as default).
So my question is whether it is a reasonable request :)
Thanks in advance, Marko
Beta Was this translation helpful? Give feedback.
All reactions