From b475cca803cdc2b465e19af8c538ca9626c11e32 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Wed, 11 Mar 2020 00:36:41 +0100 Subject: [PATCH] Edit slot gets a wrapping container that sets up flex formatting of children. --- src/components/RegisterPage.vue | 45 ++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/src/components/RegisterPage.vue b/src/components/RegisterPage.vue index 05dcaf5..d6509ac 100644 --- a/src/components/RegisterPage.vue +++ b/src/components/RegisterPage.vue @@ -25,19 +25,21 @@ -
+
-
- - -
+
+
+ + +
-
-
- - +
+
+ + +
@@ -389,19 +391,34 @@ hr { width: 100%; } } +.edit-container { + margin-top: 2rem; +} +.edit { + width: 100%; + display: flex; + flex-direction: column; + align-items: center; +} .notification-element { margin-bottom: 2rem; } .winner-element { + padding-top: 1.2rem; display: flex; flex-direction: row; + + @include mobile { + width: 100%; + } } .wine-element { align-items: flex-start; } .wine-edit { + width: 100%; margin-top: 1.5rem; label { @@ -414,8 +431,12 @@ hr { margin-bottom: 0.65rem; margin-right: 1rem; + @include desktop { + min-width: 175px; + } + @include mobile { - max-width: 150px; + max-width: 25vw; } .active {