add option to center the modal
This commit is contained in:
parent
1603193436
commit
b461fc1c4a
6 changed files with 18 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<span
|
||||
class="dialog-container"
|
||||
:class="{ 'dark-overlay': darkOverlay }"
|
||||
:class="{ 'dark-overlay': darkOverlay, '-center-mobile': mobileCenter }"
|
||||
@click.self.stop="onCancel()"
|
||||
>
|
||||
<div
|
||||
|
|
@ -100,6 +100,10 @@
|
|||
justify-content: stretch;
|
||||
align-items: end;
|
||||
justify-items: stretch;
|
||||
|
||||
&.-center-mobile {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-modal.panel {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue