Properly align multiple buttons in modal footer #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.