parent
97af0ccdf0
commit
dbb746ff34
|
@ -86,11 +86,11 @@
|
||||||
<Shortcut scope='modal-{id}' key="ArrowRight" on:pressed="next()" />
|
<Shortcut scope='modal-{id}' key="ArrowRight" on:pressed="next()" />
|
||||||
<style>
|
<style>
|
||||||
:global(.media-modal-dialog) {
|
:global(.media-modal-dialog) {
|
||||||
max-width: calc(100%);
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
.media-container {
|
.media-container {
|
||||||
height: calc(100% - 64px); /* 44px X button height + 20px padding */
|
height: calc(100% - 64px); /* 44px X button height + 20px padding */
|
||||||
width: calc(100vw);
|
width: 100vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
@ -196,8 +196,15 @@
|
||||||
.media-scroll-item {
|
.media-scroll-item {
|
||||||
scroll-snap-coordinate: 0 0;
|
scroll-snap-coordinate: 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.media-container {
|
||||||
|
height: calc(100vh - 64px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
import ModalDialog from './ModalDialog.html'
|
import ModalDialog from './ModalDialog.html'
|
||||||
|
|
Loading…
Reference in a new issue