about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-01-14 17:30:31 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-01-14 17:30:31 +0100
commitc5b8824a3e5fa43470d12c4ef96eda3e62e10436 (patch)
tree2686a372f307b672ada02870742ee1e222fe696b
parent2648645d0504dd5c6b66d4c7884452c368377379 (diff)
Fix hashtag timeline on mobile (#9806)
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.
-rw-r--r--app/javascript/styles/mastodon/about.scss7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/javascript/styles/mastodon/about.scss b/app/javascript/styles/mastodon/about.scss
index 4023b34d8..47ac9265b 100644
--- a/app/javascript/styles/mastodon/about.scss
+++ b/app/javascript/styles/mastodon/about.scss
@@ -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;
       }