Skip to content

Commit

Permalink
fix(button): wrong extra inset
Browse files Browse the repository at this point in the history
Some declarations implemented an extra "inset" statement although it should only use the variable declaration (which already contains "inset")
  • Loading branch information
lubber-de authored Jan 8, 2023
1 parent 631ba7b commit 27d0491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/definitions/elements/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -816,11 +816,11 @@
}
& when (@variationButtonGroups) {
.ui.basic.buttons .button:hover {
box-shadow: @basicHoverBoxShadow inset;
box-shadow: @basicHoverBoxShadow;
}

.ui.basic.buttons .button:active {
box-shadow: @basicDownBoxShadow inset;
box-shadow: @basicDownBoxShadow;
}

.ui.basic.buttons .active.button {
Expand Down
4 changes: 1 addition & 3 deletions src/themes/default/elements/button.variables
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@
@downBackgroundColor: #babbbc;
@downBackgroundImage: "";
@downPressedShadow: none;
@downBoxShadow:
@borderBoxShadow,
@downPressedShadow;
@downBoxShadow: @downPressedShadow;
@downColor: @pressedTextColor;

/* Active */
Expand Down

0 comments on commit 27d0491

Please sign in to comment.