From ddd38afa57010e95aed209d0bd2bb030d0203fbf Mon Sep 17 00:00:00 2001 From: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:51:28 +0200 Subject: [PATCH] SCSS: Fix mixed declarations deprecation (#91048) Fix scss deprecation --- public/sass/components/_buttons.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/public/sass/components/_buttons.scss b/public/sass/components/_buttons.scss index b045154def5..5af22a2a797 100644 --- a/public/sass/components/_buttons.scss +++ b/public/sass/components/_buttons.scss @@ -236,7 +236,10 @@ .btn-inverse { @include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl, $btn-inverse-text-color, $btn-inverse-text-shadow); //background: $card-background; - box-shadow: $card-shadow; + /* stylelint-disable-next-line */ + & { + box-shadow: $card-shadow; + } //border: 1px solid $tight-form-func-highlight-bg; } @@ -259,8 +262,11 @@ .btn-outline-disabled { @include button-outline-variant($gray-1); - box-shadow: none; - cursor: default; + /* stylelint-disable-next-line */ + & { + box-shadow: none; + cursor: default; + } &:hover, &:active,