Skip to content

Commit

Permalink
fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
nutfdt committed Nov 9, 2023
1 parent 5c6e84d commit ce69c95
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function sendLogsIdentificationDummy () {
:to="{name: 'StartPage'}"
>
<DsfrButton
class="flex justify-center w-full"
class="flex justify-center !w-full"
label="Retour à l'accueil"
icon="ri-home-4-line"
data-testid="return-to-home-end"
Expand All @@ -108,7 +108,7 @@ async function sendLogsIdentificationDummy () {
</router-link>
<DsfrButton
v-if="resultTree[typology]?.isDummyTypology"
class="mt-3 flex justify-center w-full"
class="mt-3 flex justify-center !w-full"
label="Retourner à l'étape précédente"
icon="ri-arrow-go-back-fill"
:icon-right="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const typology = computed(() => resultStore.typology)
:to="{name: 'IdentificationTypologyResult'}"
>
<DsfrButton
class="flex justify-center w-full"
class="flex justify-center !w-full"
label="Je veux identifier mon arme"
icon="ri-arrow-right-line"
:icon-right="true"
Expand All @@ -74,7 +74,7 @@ const typology = computed(() => resultStore.typology)
:to="{name:'StartPage'}"
>
<DsfrButton
class="mt-3 flex justify-center w-full"
class="mt-3 flex justify-center !w-full"
label="Retour à l'accueil"
icon="ri-home-4-line"
:icon-right="true"
Expand Down
58 changes: 30 additions & 28 deletions frontend/src/views/GuideSecuringFirearm/SecuringFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,34 +26,36 @@ const backClick = (navigate: () => void) => {
<template>
<div class="footer">
<div class="fr-col-11 fr-col-lg-6 footer-actions mx-auto">
<RouterLink
v-slot="{ navigate }"
class="m-1"
:to="backTo"
>
<DsfrButton
class="flex justify-center w-full"
icon="ri-arrow-left-line"
:secondary="true"
label="Précédent"
@click.stop.prevent="backClick(navigate)"
/>
</RouterLink>
<RouterLink
v-slot="{ navigate }"
class="m-1"
:to="nextTo"
>
<DsfrButton
class="flex justify-center w-full"
icon="ri-arrow-right-line"
:disabled="nextDisabled"
data-testid="button-next"
label="Suivant"
:icon-right="true"
@click.stop.prevent="nextClick(navigate)"
/>
</RouterLink>
<div class="fr-col-11 fr-col-lg-6 footer-actions mx-auto">
<RouterLink
v-slot="{ navigate }"
class="m-1"
:to="backTo"
>
<DsfrButton
class="flex justify-center !w-full"
icon="ri-arrow-left-line"
:secondary="true"
label="Précédent"
@click.stop.prevent="backClick(navigate)"
/>
</RouterLink>
<RouterLink
v-slot="{ navigate }"
class="m-1"
:to="nextTo"
>
<DsfrButton
class="flex justify-center !w-full"
icon="ri-arrow-right-line"
:disabled="nextDisabled"
data-testid="button-next"
label="Suivant"
:icon-right="true"
@click.stop.prevent="nextClick(navigate)"
/>
</RouterLink>
</div>
</div>
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ const openNextAccordion = (currentIndex: number) => {
/>
</ul>
</div>
<div class="small-blank" />
<AskingExpert />
<FooterMES />
</div>
</div>
Expand Down

0 comments on commit ce69c95

Please sign in to comment.