Skip to content

Commit 27d0491

Browse files
authored
fix(button): wrong extra inset
Some declarations implemented an extra "inset" statement although it should only use the variable declaration (which already contains "inset")
1 parent 631ba7b commit 27d0491

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/definitions/elements/button.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,11 +816,11 @@
816816
}
817817
& when (@variationButtonGroups) {
818818
.ui.basic.buttons .button:hover {
819-
box-shadow: @basicHoverBoxShadow inset;
819+
box-shadow: @basicHoverBoxShadow;
820820
}
821821

822822
.ui.basic.buttons .button:active {
823-
box-shadow: @basicDownBoxShadow inset;
823+
box-shadow: @basicDownBoxShadow;
824824
}
825825

826826
.ui.basic.buttons .active.button {

src/themes/default/elements/button.variables

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@
104104
@downBackgroundColor: #babbbc;
105105
@downBackgroundImage: "";
106106
@downPressedShadow: none;
107-
@downBoxShadow:
108-
@borderBoxShadow,
109-
@downPressedShadow;
107+
@downBoxShadow: @downPressedShadow;
110108
@downColor: @pressedTextColor;
111109

112110
/* Active */

0 commit comments

Comments
 (0)