about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon/about.scss
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-10 06:43:02 +0200
committerGitHub <noreply@github.com>2018-08-10 06:43:02 +0200
commit5b8603879f06573d51c5c33edda6f410d1af7a02 (patch)
tree3c6bdeb0b31989c47f4e0c7ae8f6165ba5dd3e89 /app/javascript/styles/mastodon/about.scss
parent8c279b1648fc0a07b5c5d4a0e18526bcb51c7700 (diff)
Adjust responsive design for /about/more and /terms (#8158)
Follow-up to #8142
Diffstat (limited to 'app/javascript/styles/mastodon/about.scss')
-rw-r--r--app/javascript/styles/mastodon/about.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/about.scss b/app/javascript/styles/mastodon/about.scss
index bba7044cf..228dd96f0 100644
--- a/app/javascript/styles/mastodon/about.scss
+++ b/app/javascript/styles/mastodon/about.scss
@@ -790,8 +790,10 @@ $small-breakpoint: 960px;
     border-radius: 4px;
     padding: 25px 40px;
     overflow: hidden;
+    box-sizing: border-box;
 
     .row {
+      width: 100%;
       display: flex;
       flex-direction: row-reverse;
       flex-wrap: wrap;
@@ -808,11 +810,20 @@ $small-breakpoint: 960px;
         flex: 1 0 auto;
         padding: 0 10px;
       }
+
+      @media screen and (max-width: $no-gap-breakpoint) {
+        width: 100%;
+        justify-content: space-between;
+      }
     }
 
     .row__mascot {
       flex: 1;
       margin: 10px -50px 0 0;
+
+      @media screen and (max-width: $no-gap-breakpoint) {
+        display: none;
+      }
     }
   }