From: James Adam Wasson Date: Fri, 17 May 2019 09:56:58 +0000 (-0600) Subject: Make centered buttons have equal margin (#2381) X-Git-Tag: 0.7.5~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=196338d35630741db901cb5b9b23bbce2068e15a;p=thirdparty%2Fbulma.git Make centered buttons have equal margin (#2381) * Make centered buttons have equal margin * Add fix for .has-addons centered * Add fix for is-right --- diff --git a/sass/elements/button.sass b/sass/elements/button.sass index e75cd2fd0..207c202d1 100644 --- a/sass/elements/button.sass +++ b/sass/elements/button.sass @@ -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