]> cat aescling's git repositories - mastodon.git/commitdiff
Fix hashtag timeline on mobile (#9806)
authorThibG <thib@sitedethib.com>
Mon, 14 Jan 2019 16:30:31 +0000 (17:30 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 14 Jan 2019 16:30:31 +0000 (17:30 +0100)
Instead of forcing 90vh for the scrollable part of the timeline's height as
in #9781 (which may be off), use `display: flex`, exactly like on desktop.

app/javascript/styles/mastodon/about.scss

index 4023b34d87c11b86e9c2432111eaca2a3a6a8392..47ac9265bf773511ad585760e7938d807f52d5c5 100644 (file)
@@ -1041,10 +1041,6 @@ $small-breakpoint: 960px;
 
     .scrollable {
       height: 400px;
-
-      @media screen and (max-width: $column-breakpoint) {
-        height: 90vh;
-      }
     }
 
     p {
@@ -1271,8 +1267,7 @@ $small-breakpoint: 960px;
       }
 
       #mastodon-timeline {
-        display: block;
-        width: 100vw;
+        display: flex;
         height: 100vh;
         border-radius: 0;
       }