Skip to content

Commit cfe19ff

Browse files
committed
Fix CSS layer conflicts for Vuetify 4 upgrade
Vuetify 3 utility classes used !important and won over component styles. Vuetify 4 replaced !important with CSS layers, so unlayered component styles now override them. Consolidate the utility class values into the component CSS rules and remove the now-ineffective utility classes from templates.
1 parent 5a24079 commit cfe19ff

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

web/src/components/map/LegacyMap.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ watch(
162162

163163
<template>
164164
<div id="mapContainer" class="map">
165-
<div id="map-tooltip" ref="tooltip" class="tooltip pa-0">
165+
<div id="map-tooltip" ref="tooltip" class="tooltip">
166166
<MapTooltip />
167167
</div>
168168
</div>
@@ -199,7 +199,7 @@ watch(
199199
200200
.tooltip {
201201
border-radius: 5px;
202-
padding: 10px 20px;
202+
padding: 0;
203203
word-break: break-word;
204204
text-wrap: wrap;
205205
width: fit-content;

web/src/components/map/ToggleCompareMap.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ const swiperColor = computed(() => {
321321
322322
.tooltip {
323323
border-radius: 5px;
324-
padding: 10px 20px;
324+
padding: 0;
325325
word-break: break-word;
326326
text-wrap: wrap;
327327
width: fit-content;

web/src/components/projects/ProjectConfig.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ watch(
240240

241241
<template>
242242
<div>
243-
<div class="project-row my-5">
243+
<div class="project-row">
244244
<v-select
245245
placeholder="Select a Project"
246246
no-data-text="No available projects."
@@ -574,7 +574,7 @@ watch(
574574
<style>
575575
.project-row {
576576
display: flex;
577-
margin: 0px 8px;
577+
margin: 20px 8px;
578578
align-items: center;
579579
justify-content: space-between;
580580
}

0 commit comments

Comments
 (0)