From a219e8478419b23e229322e6a38d78262369f7d7 Mon Sep 17 00:00:00 2001 From: Gwen Date: Fri, 26 Jun 2020 14:20:18 +0200 Subject: [PATCH] Apply the same style as icons in a button for icons directly adjacent to an input --- sass/elements/button.sass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sass/elements/button.sass b/sass/elements/button.sass index 4bdf2534..16687750 100644 --- a/sass/elements/button.sass +++ b/sass/elements/button.sass @@ -79,6 +79,9 @@ $button-static-border-color: $border !default &:first-child:last-child margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}) margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}) + + .icon + margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}) + margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}) // States &:hover, &.is-hovered