From c5b8824a3e5fa43470d12c4ef96eda3e62e10436 Mon Sep 17 00:00:00 2001 From: ThibG Date: Mon, 14 Jan 2019 17:30:31 +0100 Subject: [PATCH] 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. --- app/javascript/styles/mastodon/about.scss | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/javascript/styles/mastodon/about.scss b/app/javascript/styles/mastodon/about.scss index 4023b34d87..47ac9265bf 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; }