Skip to content

Commit

Permalink
Merge pull request #166 from datalab-mi/fix/display-modal-in-case-of-…
Browse files Browse the repository at this point in the history
…transparent-magazine

fix: 🚑 display modal if transparent magazine
  • Loading branch information
NadeigeC committed Aug 21, 2023
2 parents 7f19265 + 20915b4 commit 1f75896
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions frontend/src/views/GuideFactice/SelectAmmo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ onMounted(() => {
<div>
<Teleport to="body">
<DsfrModal
v-if="typology === 'autre_epaule'"
v-if="typology === 'semi_auto_style_militaire_autre'"
title=""
:opened="showModal"
@close="closeModal()"
Expand Down Expand Up @@ -84,7 +84,7 @@ onMounted(() => {
</div>
<div class="modal-footer">
<DsfrButton
class="full"
class="w-full text-sm"
label="Oui, c'est clair, je poursuis le tutoriel"
icon-right
icon="ri-arrow-right-line"
Expand All @@ -106,7 +106,7 @@ onMounted(() => {
<p class="texte-tuto my-3">
Sélectionner le <span class="font-bold">type de munitions</span> du chargeur.
<span
v-if="typology === 'autre_epaule'"
v-if="typology === 'semi_auto_style_militaire_autre'"
@click="openModal()"
>
<a href="#"> Chargeur transparent ?</a>
Expand Down Expand Up @@ -224,12 +224,6 @@ onMounted(() => {
white-space: pre-wrap;
}
:deep(.fr-col-md-8),
:deep(.fr-col-lg-6) {
flex: 0 0 100%;
max-width: 100%;
width: 100%;
}
.instructions {
padding-bottom: .5em;
}
Expand Down

0 comments on commit 1f75896

Please sign in to comment.