From 470eb0042ea99e0632ccc62a0b7c01e910f70491 Mon Sep 17 00:00:00 2001
From: Pavel Djundik <xPaw@users.noreply.github.com>
Date: Sat, 8 Apr 2017 19:31:50 +0300
Subject: [PATCH] Improve responsiveness of registration form and closed banner
 (#1265)

---
 app/assets/stylesheets/about.scss | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/app/assets/stylesheets/about.scss b/app/assets/stylesheets/about.scss
index 6d9bd50a3..8bf950d41 100644
--- a/app/assets/stylesheets/about.scss
+++ b/app/assets/stylesheets/about.scss
@@ -114,10 +114,6 @@
       padding: 20px;
     }
 
-    .screenshot-with-signup .mascot {
-      display: none;
-    }
-
     .features-list {
       display: block;
     }
@@ -356,6 +352,16 @@
       }
     }
   }
+  
+  @media screen and (max-width: 625px) {
+    .mascot {
+      display: none;
+    }
+
+    .simple_form, .closed-registrations-message {
+      flex: auto;
+    }
+  }
 }
 
 .closed-registrations-message {
-- 
GitLab