Skip to content

Commit deaabc0

Browse files
fix: migrate deprecated scss code
Migrate scss code that is deprecated in newer sass versions.
1 parent 53794b6 commit deaabc0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/CCard.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,8 @@ const emit = defineEmits<{
348348
</script>
349349

350350
<style scoped lang="scss">
351-
@import "vuetify/lib/styles/settings/variables";
351+
@use "vuetify/lib/styles/settings/variables";
352+
@use "sass:map";
352353
353354
.c-card {
354355
&.c-card--variant--bottom-sheet {
@@ -365,11 +366,11 @@ const emit = defineEmits<{
365366
.v-card-title.large {
366367
line-height: normal;
367368
368-
@media (max-width: map-get($grid-breakpoints, "md")) {
369+
@media (max-width: map.get(variables.$grid-breakpoints, "md")) {
369370
font-size: 26px !important;
370371
}
371372
372-
@media (min-width: map-get($grid-breakpoints, "md")) {
373+
@media (min-width: map.get(variables.$grid-breakpoints, "md")) {
373374
font-size: 30px !important;
374375
}
375376
}

0 commit comments

Comments
 (0)