Hide channel description on small screens
This commit is contained in:
parent
9109efe5cd
commit
f443052b66
2 changed files with 8 additions and 3 deletions
|
@ -185,9 +185,14 @@ only show up when the screen is wide enough */
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Center sorting options when screen is less than 640px*/
|
|
||||||
@media screen and (max-width: 640px) {
|
@media screen and (max-width: 640px) {
|
||||||
|
/* Center sorting options when screen is less than 640px*/
|
||||||
#sort-options {
|
#sort-options {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide channel description on mobile */
|
||||||
|
#channel-description-container {
|
||||||
|
display: none
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -52,8 +52,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="h-box">
|
<div class="h-box" id="channel-description-container">
|
||||||
<p><span style="white-space:pre-wrap"><%= channel.description_html %></span></p>
|
<p id="channel-description"><span style="white-space:pre-wrap"><%= channel.description_html %></span></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="h-box">
|
<div class="h-box">
|
||||||
|
|
Loading…
Reference in a new issue