Skip to content

Commit

Permalink
fix css for display buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
nutfdt committed Nov 9, 2023
1 parent 5c6e84d commit 57ba95a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 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
4 changes: 2 additions & 2 deletions frontend/src/views/GuideSecuringFirearm/SecuringFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const backClick = (navigate: () => void) => {
:to="backTo"
>
<DsfrButton
class="flex justify-center w-full"
class="flex justify-center !w-full"
icon="ri-arrow-left-line"
:secondary="true"
label="Précédent"
Expand All @@ -45,7 +45,7 @@ const backClick = (navigate: () => void) => {
:to="nextTo"
>
<DsfrButton
class="flex justify-center w-full"
class="flex justify-center !w-full"
icon="ri-arrow-right-line"
:disabled="nextDisabled"
data-testid="button-next"
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 57ba95a

Please sign in to comment.