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:
parent
39f53de8aa
commit
196338d356
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue