diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-07-31 23:05:23 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-08-01 00:18:42 +0200 |
commit | a3dd2deda38bb4f8fb8155ce2de1a6715acd31ea (patch) | |
tree | a6e7ec60ed315b34f576103214dc115c052ebd42 /app/javascript | |
parent | 175c2155a9c674fc225cc943a3fb6fdfc26571f7 (diff) |
[Glitch] Do not hide hashtag timeline in mobile view, make it full-window
Port 13ac8ca66ab01c92e4ebcc7221efb3d474c9fd0b to glitch-soc
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/styles/about.scss | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/app/javascript/flavours/glitch/styles/about.scss b/app/javascript/flavours/glitch/styles/about.scss index c9c0e3081..42344d29a 100644 --- a/app/javascript/flavours/glitch/styles/about.scss +++ b/app/javascript/flavours/glitch/styles/about.scss @@ -1094,6 +1094,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%; @@ -1125,24 +1140,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; - } } } } |