[Glitch] Do not hide hashtag timeline in mobile view, make it full-window

Port 13ac8ca66a to glitch-soc
This commit is contained in:
Thibaut Girka 2018-07-31 23:05:23 +02:00
parent 175c2155a9
commit a3dd2deda3
1 changed files with 20 additions and 12 deletions

View File

@ -1094,6 +1094,21 @@ $small-breakpoint: 960px;
} }
&.tag-page { &.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 { .grid {
@media screen and (min-width: $small-breakpoint) { @media screen and (min-width: $small-breakpoint) {
grid-template-columns: 33% 67%; grid-template-columns: 33% 67%;
@ -1125,23 +1140,16 @@ $small-breakpoint: 960px;
@media screen and (max-width: $column-breakpoint) { @media screen and (max-width: $column-breakpoint) {
.grid { .grid {
.column-1 { grid-gap: 0;
grid-column: 1;
grid-row: 2;
}
.column-2 { .column-1 {
grid-column: 1; grid-column: 1;
grid-row: 1; grid-row: 1;
} }
}
.brand { .column-2 {
margin: 0; display: none;
} }
.landing-page__features {
display: none;
} }
} }
} }