about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-03-01 02:48:08 +0100
committerGitHub <noreply@github.com>2018-03-01 02:48:08 +0100
commit473a69ab18c17551c99dc0806aa948b7edaf7cb0 (patch)
treee0d21c8b42bc41577da5ae67324b6ac053495651 /app/javascript
parentfce8464077dfca64c3bc9a52b7bcde50c9ac555e (diff)
Fix margin on top action button, fix width of counters on frontpage (#6573)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/about.scss7
-rw-r--r--app/javascript/styles/mastodon/forms.scss5
2 files changed, 7 insertions, 5 deletions
diff --git a/app/javascript/styles/mastodon/about.scss b/app/javascript/styles/mastodon/about.scss
index c2e819f51..9ce83aa9b 100644
--- a/app/javascript/styles/mastodon/about.scss
+++ b/app/javascript/styles/mastodon/about.scss
@@ -15,8 +15,6 @@ $small-breakpoint: 960px;
   }
 }
 
-
-
 .landing-page {
   .grid {
     display: grid;
@@ -51,7 +49,6 @@ $small-breakpoint: 960px;
   }
 
   @media screen and (max-width: $small-breakpoint) {
-
     .grid {
       grid-template-columns: 40% 60%;
 
@@ -633,8 +630,8 @@ $small-breakpoint: 960px;
       align-items: flex-end;
 
       .information-board__section {
-        flex: 1 0 80px;
-        padding: 0 5px;
+        flex: 1 0 auto;
+        padding: 0 10px;
       }
     }
 
diff --git a/app/javascript/styles/mastodon/forms.scss b/app/javascript/styles/mastodon/forms.scss
index dec7d2284..2e38cda4e 100644
--- a/app/javascript/styles/mastodon/forms.scss
+++ b/app/javascript/styles/mastodon/forms.scss
@@ -278,6 +278,11 @@ code {
   .actions {
     margin-top: 30px;
     display: flex;
+
+    &.actions--top {
+      margin-top: 0;
+      margin-bottom: 30px;
+    }
   }
 
   button,