{BUGFIX} For modal
This commit is contained in:
parent
960f53ab54
commit
c79f1c5a74
2 changed files with 8 additions and 4 deletions
|
@ -69,9 +69,8 @@
|
|||
position: relative;
|
||||
width: 300px;
|
||||
margin: 0 auto;
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: calc(100vh - 40px);
|
||||
overflow: hidden;
|
||||
|
||||
|
@ -85,6 +84,11 @@
|
|||
width: 1200;
|
||||
}
|
||||
|
||||
&.for-image {
|
||||
display: initial;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
header,
|
||||
footer {
|
||||
align-items: center;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<button type="button" aria-label="Image suivante" class="navigation next" @click="next" v-if="index + 1 < item.images.length">
|
||||
<i class="icon-right-open"></i>
|
||||
</button>
|
||||
<div class="modal-card">
|
||||
<div class="modal-card for-image">
|
||||
<img :src="preview" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue