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

Port d39e0ad4d5 to glitch-soc
lolsob-rspec
Thibaut Girka 2018-07-31 23:05:23 +02:00
parent 658fc6bc1e
commit 89b05c7d68
1 changed files with 20 additions and 12 deletions

View File

@ -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 {
.column-1 {
grid-column: 1;
grid-row: 2;
}
grid-gap: 0;
.column-2 {
.column-1 {
grid-column: 1;
grid-row: 1;
}
}
.brand {
margin: 0;
}
.landing-page__features {
.column-2 {
display: none;
}
}
}
}
}