From c3e18c3b0ecd4d2cded8ae23be247c13d86a92b9 Mon Sep 17 00:00:00 2001 From: Jeremias Peier Date: Tue, 25 Jun 2024 10:27:39 +0200 Subject: [PATCH] refactor(mini-button): inline variable for display property --- src/elements/core/styles/mixins/buttons.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/elements/core/styles/mixins/buttons.scss b/src/elements/core/styles/mixins/buttons.scss index a19cc5f54c..bcb3454c3e 100644 --- a/src/elements/core/styles/mixins/buttons.scss +++ b/src/elements/core/styles/mixins/buttons.scss @@ -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; @@ -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 {