Skip to content

Commit

Permalink
refactor(mini-button): inline variable for display property (#2819)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB authored Jun 25, 2024
1 parent 35384eb commit 8a07c68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/elements/core/styles/mixins/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@
// Default state for icon-button in form-field
@mixin icon-button-base($host-selector, $button-selector, $icon-selector) {
#{$host-selector} {
--sbb-button-display: flex;

display: inline-block;
-webkit-tap-highlight-color: transparent;
height: fit-content;
Expand All @@ -120,7 +118,7 @@
color: var(--sbb-button-color-default-text);
cursor: pointer;
user-select: none;
display: var(--sbb-button-display);
display: flex;

// Renders background and border in the background absolute to enable the hover animation
&::before {
Expand Down

0 comments on commit 8a07c68

Please sign in to comment.