From e46bb942260d192beb601727519ed90df5c62494 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 28 Jan 2020 23:45:14 +0200 Subject: [PATCH] updated preview to account for underlay --- src/App.scss | 4 +- src/App.vue | 2 +- src/components/style_switcher/preview.vue | 198 ++++++++++-------- .../style_switcher/style_switcher.vue | 4 +- 4 files changed, 112 insertions(+), 96 deletions(-) diff --git a/src/App.scss b/src/App.scss index 1fabaaa9..85fd0b47 100644 --- a/src/App.scss +++ b/src/App.scss @@ -31,9 +31,11 @@ h4 { margin: auto; min-height: 100vh; max-width: 980px; + align-content: flex-start; +} +.underlay { background-color: rgba(0,0,0,0.15); background-color: var(--underlay, rgba(0,0,0,0.15)); - align-content: flex-start; } .text-center { diff --git a/src/App.vue b/src/App.vue index 1b1c2648..ff62fc51 100644 --- a/src/App.vue +++ b/src/App.vue @@ -78,7 +78,7 @@
-
- -
+