diff --git a/client/components/carte/Map.vue b/client/components/carte/Map.vue index 5abca7c..fb493f8 100644 --- a/client/components/carte/Map.vue +++ b/client/components/carte/Map.vue @@ -3,7 +3,6 @@ import * as maplibregl from 'maplibre-gl'; import { Ref } from 'vue'; import { PMTiles, Protocol } from 'pmtiles'; import api from '../../api'; -import niveauxGravite from '../../dto/niveauGravite'; import { useRefDataStore } from '../../store/refData'; const props = defineProps<{ @@ -206,7 +205,7 @@ const typeEauTags: Ref = ref([{ }, { label: 'Eau superficielle', value: 'SUP', - text: `d'un cours d'eau, d'une rivière`, + text: `des cours d'eau, rivières`, }, { label: 'Eau souterraine', value: 'SOU', @@ -455,18 +454,7 @@ watch(() => props.area, () => { tag-name="button" /> -
- -
+
@@ -481,18 +469,7 @@ watch(() => props.area, () => { tag-name="button" /> -
- -
+
props, () => { :rows="rowsFiltered" :pagination="true" :key="componentKey" - class="fr-table--layout-fixed fr-table--no-title" /> + class="fr-table--sm fr-table--no-title" />
@@ -191,7 +191,6 @@ watch(() => props, () => { } &-body { - background: var(--grey-1000-50); padding-bottom: 1rem; } @@ -214,4 +213,15 @@ watch(() => props, () => { margin: 0 -0.5rem; } } + +.fr-table { + overflow: auto; +} + +@media screen and (min-width: 768px) { + .fr-table > :deep(table) { + display: table; + table-layout: fixed; + } +} \ No newline at end of file diff --git a/client/components/carte/commune/Filter.vue b/client/components/carte/commune/Filter.vue index d3a83f7..96b5310 100644 --- a/client/components/carte/commune/Filter.vue +++ b/client/components/carte/commune/Filter.vue @@ -151,7 +151,7 @@ watch(() => refDataStore.departements, () => { + + \ No newline at end of file diff --git a/client/components/donnees/ArretesRestrictionsTable.vue b/client/components/donnees/ArretesRestrictionsTable.vue index e0a8981..6e2449d 100644 --- a/client/components/donnees/ArretesRestrictionsTable.vue +++ b/client/components/donnees/ArretesRestrictionsTable.vue @@ -92,6 +92,7 @@ watch(() => props, () => { :headers="headers" :rows="rows" :pagination="true" + class="fr-table--sm" :key="componentKey" />
@@ -106,4 +107,10 @@ watch(() => props, () => {
- \ No newline at end of file + + + \ No newline at end of file diff --git a/client/components/donnees/CommuneChart.vue b/client/components/donnees/CommuneChart.vue index 9adce95..6d2f522 100644 --- a/client/components/donnees/CommuneChart.vue +++ b/client/components/donnees/CommuneChart.vue @@ -143,7 +143,7 @@ async function downloadGraph() { \ No newline at end of file + + + \ No newline at end of file diff --git a/client/components/donnees/DepartementChart.vue b/client/components/donnees/DepartementChart.vue index 9d8c385..9ab26a8 100644 --- a/client/components/donnees/DepartementChart.vue +++ b/client/components/donnees/DepartementChart.vue @@ -207,7 +207,7 @@ const tooltipTitle = (tooltipItems: any[]): string => { const chartLineOptions: ChartOptions = { responsive: true, - maintainAspectRatio: true, + maintainAspectRatio: false, scales: { x: { type: 'time', @@ -293,7 +293,7 @@ watch(() => refDataStore.departements, () => { \ No newline at end of file + + + \ No newline at end of file diff --git a/client/components/donnees/Filter.vue b/client/components/donnees/Filter.vue index d81e735..7be35ce 100644 --- a/client/components/donnees/Filter.vue +++ b/client/components/donnees/Filter.vue @@ -72,14 +72,14 @@ watch(() => refDataStore.departements, () => {