Skip to content
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

Properly align multiple buttons in modal footer #17

Merged
merged 1 commit into from May 1, 2017

Conversation

LordSputnik
Copy link
Member

@LordSputnik LordSputnik commented Sep 7, 2016

There was a slight issue with buttons in modals - once an initial button was added in the footer, additional buttons would be slightly vertically offset. This tweak adjusts the height of buttons adjacent to each other to ensure that they are vertically aligned.

The problem here arises from the conflict between:

https://github.com/metabrainz/lobes/blob/master/less/lobes-buttons.less#L7
https://github.com/twbs/bootstrap/blob/master/less/modals.less#L110

Lobes sets a custom margin for its buttons, but this is then overridden by bootstrap for some of the buttons in the modal.

@mayhem mayhem merged commit ad7d57a into metabrainz:master May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants