From 6784a70ec4ddf2e8b14977396b0a16a3e3b4d0ce Mon Sep 17 00:00:00 2001 From: Roman Cervantes Date: Wed, 25 Sep 2019 14:56:38 -0700 Subject: [PATCH] Modal header updates --- src/components/Modal.vue | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/components/Modal.vue b/src/components/Modal.vue index bc84d3de..0c270138 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -9,12 +9,12 @@ :class="['modal-content', { large, confirm, padded, dark: darkModeEnabled }]" @click.stop > - +
+

{{ title }}

-
-

{{ title }}

+
@@ -86,6 +86,7 @@ export default { { info: this.darkModeEnabled, accent: !this.darkModeEnabled, + fixed: !this.title, }, 'small', 'close-button', @@ -209,16 +210,18 @@ header { min-height: 30px; @media($small) { - padding: $gp $gp 0; + padding: $gp; + right: 0; + } + + &.fixed { + position: fixed; + background-color: transparent !important; } } .close-button { display: none; - position: fixed; - right: 12px; - top: $gp / 2; - z-index: 99999; @media($small) { display: block;