Skip to content

Commit

Permalink
refacto: we used twice the same css name in scoped mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-AntoineA committed Feb 14, 2025
1 parent 1c16b84 commit 8eef585
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions front/src/components/map/MapComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ onMounted(() => {
</script>

<template>
<div :id="mapId" data-cy="map-component" class="map-container"></div>
<div :id="mapId" data-cy="map-component" class="map-component"></div>
<map-plantabilite-legend />
</template>

<style lang="sass">
.map-container
<style lang="sass" scoped>
.map-component
height: 100%
width: 100%
position: relative
</style>
1 change: 1 addition & 0 deletions front/src/views/MapView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ import MapComponent from "@/components/map/MapComponent.vue"
max-width: 100vw
height: $content-height
overflow: hidden
position: relative
</style>

0 comments on commit 8eef585

Please sign in to comment.