Skip to content

Commit a15edec

Browse files
committed
fix: don't use multi-line :not()
fixes #21995
1 parent 20ed25b commit a15edec

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

packages/vuetify/src/components/VAlert/VAlert.sass

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,7 @@
147147

148148
@media (forced-colors: active)
149149
.v-alert
150-
&:not(
151-
&--variant-text,
152-
&--variant-plain
153-
)
150+
&:not(&--variant-text, &--variant-plain)
154151
border-style: solid
155152

156153
&--variant-outlined,

packages/vuetify/src/components/VBtn/VBtn.sass

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,7 @@
261261

262262
@media (forced-colors: active)
263263
.v-btn
264-
&:not(
265-
&--variant-text,
266-
&--variant-plain
267-
)
264+
&:not(&--variant-text, &--variant-plain)
268265
border: thin solid
269266

270267
&:focus-visible

packages/vuetify/src/components/VCard/VCard.sass

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,5 @@
206206

207207
@media (forced-colors: active)
208208
.v-card
209-
&:not(
210-
&--variant-text,
211-
&--variant-plain
212-
)
209+
&:not(&--variant-text, &--variant-plain)
213210
border: thin solid

packages/vuetify/src/components/VChip/VChip.sass

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,5 @@
8989

9090
@media (forced-colors: active)
9191
.v-chip
92-
&:not(
93-
&--variant-text,
94-
&--variant-plain
95-
)
92+
&:not(&--variant-text, &--variant-plain)
9693
border: thin solid

0 commit comments

Comments
 (0)