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.
master
ThibG 6 years ago committed by Eugen Rochko
parent 2648645d05
commit c5b8824a3e
  1. 7
      app/javascript/styles/mastodon/about.scss

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

Loading…
Cancel
Save