You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spacing within a .buttongroup is implemented differently, depending weather the variable $global-flexbox is set false or true.
In a flexbox context, the spacing is implemented by a margin-right
In a non-flexbox context the spacing is implemented by a white border-right
The border-method causes funky results, when $buttongroup-spacing ramped up to values bigger, than the default button-border-width
How can we reproduce this bug?
Set the value of $buttongroup-spacing to a high value. e.g. 10px;
Change the value of $global-flexbox from false to true and vice versa.
Compare the results
What happened?
The Border-Method the color of the top border of the button to leak into the spacing:
The problem of the border-method becomes most visible, when placing a button-group on a colored element, like a top bar. The spacing is running in the body-color:
Source of this Problem
This difference is caused by this code within the button group. Starting at line 51:
If the border-method is not absolutely necessary for browser compatibility, i suggest to remove the conditional completely and use for both cases the margin-method.
This Issue is related to the discussion in issue #8447
The text was updated successfully, but these errors were encountered:
The spacing within a
.buttongroup
is implemented differently, depending weather the variable$global-flexbox
is setfalse
ortrue
.In a flexbox context, the spacing is implemented by a
margin-right
In a non-flexbox context the spacing is implemented by a white
border-right
The border-method causes funky results, when
$buttongroup-spacing
ramped up to values bigger, than the default button-border-widthHow can we reproduce this bug?
$buttongroup-spacing
to a high value. e.g. 10px;$global-flexbox
from false to true and vice versa.What happened?
The Border-Method the color of the top border of the button to leak into the spacing:
The problem of the border-method becomes most visible, when placing a button-group on a colored element, like a top bar. The spacing is running in the body-color:
Source of this Problem
This difference is caused by this code within the button group. Starting at line 51:
** Suggestion **
If the border-method is not absolutely necessary for browser compatibility, i suggest to remove the conditional completely and use for both cases the margin-method.
This Issue is related to the discussion in issue #8447
The text was updated successfully, but these errors were encountered: