]> cat aescling's git repositories - mastodon.git/commitdiff
Do not hide hashtag timeline in mobile view, make it full-window (#8093)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 31 Jul 2018 00:54:25 +0000 (02:54 +0200)
committerGitHub <noreply@github.com>
Tue, 31 Jul 2018 00:54:25 +0000 (02:54 +0200)
app/javascript/styles/mastodon/about.scss

index fefb03407c9b10fd0bd2efda786784a25732ea5d..b9544bb33b3a88392ed7afdcb284f94fdc4f0424 100644 (file)
@@ -1115,6 +1115,21 @@ $small-breakpoint: 960px;
   }
 
   &.tag-page {
+    @media screen and (max-width: $column-breakpoint) {
+      padding: 0;
+
+      .container {
+        padding: 0;
+      }
+
+      #mastodon-timeline {
+        display: block;
+        width: 100vw;
+        height: 100vh;
+        border-radius: 0;
+      }
+    }
+
     .grid {
       @media screen and (min-width: $small-breakpoint) {
         grid-template-columns: 33% 67%;
@@ -1146,24 +1161,17 @@ $small-breakpoint: 960px;
 
     @media screen and (max-width: $column-breakpoint) {
       .grid {
+        grid-gap: 0;
+
         .column-1 {
           grid-column: 1;
-          grid-row: 2;
+          grid-row: 1;
         }
 
         .column-2 {
-          grid-column: 1;
-          grid-row: 1;
+          display: none;
         }
       }
-
-      .brand {
-        margin: 0;
-      }
-
-      .landing-page__features {
-        display: none;
-      }
     }
   }
 }