Apply the same style as icons in a button for icons directly adjacent to an input

This commit is contained in:
Gwen 2020-06-26 14:20:18 +02:00
parent 4ccca9f7d4
commit a219e84784

View File

@ -79,6 +79,9 @@ $button-static-border-color: $border !default
&:first-child:last-child &:first-child:last-child
margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}) margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
margin-right: 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 // States
&:hover, &:hover,
&.is-hovered &.is-hovered