mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 13:06:01 +00:00
SYNC: new object modal
This commit is contained in:
committed by
Diflow
parent
445ecea3e6
commit
982098672e
@@ -9,6 +9,7 @@
|
||||
export let fullScreen = false;
|
||||
export let noPadding = false;
|
||||
export let simple = false;
|
||||
export let simplefix = false;
|
||||
export let modalId;
|
||||
|
||||
function handleCloseModal() {
|
||||
@@ -43,6 +44,7 @@
|
||||
class="window"
|
||||
class:fullScreen
|
||||
class:simple
|
||||
class:simplefix
|
||||
use:clickOutside
|
||||
on:clickOutside={handleClickOutside}
|
||||
data-testid="ModalBase_window"
|
||||
@@ -92,7 +94,7 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.window:not(.fullScreen):not(.simple) {
|
||||
.window:not(.fullScreen):not(.simple):not(.simplefix) {
|
||||
border-radius: 10px;
|
||||
margin: auto;
|
||||
margin-top: 15vh;
|
||||
@@ -114,6 +116,12 @@
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.window.simplefix {
|
||||
margin: auto;
|
||||
max-width: 600px;
|
||||
margin-top: 10vh;
|
||||
}
|
||||
|
||||
.close {
|
||||
font-size: 12pt;
|
||||
padding: 5px 10px;
|
||||
|
||||
Reference in New Issue
Block a user