From 8f730854e1a2373d2b740d756fa35b61effb846a Mon Sep 17 00:00:00 2001 From: karemarsy Date: Tue, 21 Apr 2020 13:17:42 +0200 Subject: [PATCH] Make the submission thank you page vertically centered --- app/assets/stylesheets/application.css.scss | 4 ++++ app/views/submissions/create.html.erb | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 71872c4..97ac9c5 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -35,6 +35,10 @@ $light: #fff; height: 100%; } +.is-vcentered{ + height: 100vh; +} + .content { padding: 30px 60px 50px; diff --git a/app/views/submissions/create.html.erb b/app/views/submissions/create.html.erb index b1494b2..5526924 100644 --- a/app/views/submissions/create.html.erb +++ b/app/views/submissions/create.html.erb @@ -1,6 +1,5 @@ -
-
-
+
+
@@ -15,7 +14,7 @@
+
-
\ No newline at end of file