mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 20:54:30 -07:00
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:
committed by
Jeremy Thomas
parent
39f53de8aa
commit
196338d356
@@ -271,5 +271,13 @@ $button-static-border-color: $grey-lighter !default
|
|||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
&.is-centered
|
&.is-centered
|
||||||
justify-content: center
|
justify-content: center
|
||||||
|
&:not(.has-addons)
|
||||||
|
.button:not(.is-fullwidth)
|
||||||
|
margin-left: 0.25rem
|
||||||
|
margin-right: 0.25rem
|
||||||
&.is-right
|
&.is-right
|
||||||
justify-content: flex-end
|
justify-content: flex-end
|
||||||
|
&:not(.has-addons)
|
||||||
|
.button:not(.is-fullwidth)
|
||||||
|
margin-left: 0.25rem
|
||||||
|
margin-right: 0.25rem
|
||||||
|
|||||||
Reference in New Issue
Block a user