Make centered buttons have equal margin (#2381)

* Make centered buttons have equal margin

* Add fix for .has-addons centered

* Add fix for is-right
This commit is contained in:
James Adam Wasson 2019-05-17 03:56:58 -06:00 committed by Jeremy Thomas
parent 39f53de8aa
commit 196338d356

View File

@ -271,5 +271,13 @@ $button-static-border-color: $grey-lighter !default
flex-grow: 1
&.is-centered
justify-content: center
&:not(.has-addons)
.button:not(.is-fullwidth)
margin-left: 0.25rem
margin-right: 0.25rem
&.is-right
justify-content: flex-end
&:not(.has-addons)
.button:not(.is-fullwidth)
margin-left: 0.25rem
margin-right: 0.25rem