about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLynx Kotoura <lynx@lv9.org>2017-07-26 20:45:49 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-26 13:45:49 +0200
commitaa8fa71df6c57297ea859d3deca5794612d4d281 (patch)
treed8a2393d163beb73e3653a69681cd58604a2821a
parent7874c6d630ddd54b08e96b67831a5eb2352bd7b1 (diff)
Fix padding in hero container of landing page (#4373)
* Fix padding in hero container, landing page

Erase hero container padding to fit registration form to full width. By this setting, heading padding disappears, so I adjust heading padding.

* Specify attribute strictly for heading padding

To overwrite padding-bottom in superior settings.

* Make padding shorthand more concise
-rw-r--r--app/javascript/styles/about.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/javascript/styles/about.scss b/app/javascript/styles/about.scss
index 5a4bcef61..9be95c028 100644
--- a/app/javascript/styles/about.scss
+++ b/app/javascript/styles/about.scss
@@ -708,6 +708,11 @@
 
       .hero {
         margin-top: 30px;
+        padding: 0;
+
+        .heading {
+          padding: 0 20px 20px;
+        }
       }
 
       .floats {