mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Hide channel description on small screens
This commit is contained in:
parent
e8d5fa5142
commit
b4339ec9d1
2 changed files with 8 additions and 3 deletions
|
@ -185,9 +185,14 @@ only show up when the screen is wide enough */
|
|||
display: flex;
|
||||
}
|
||||
|
||||
/* Center sorting options when screen is less than 640px*/
|
||||
@media screen and (max-width: 640px) {
|
||||
/* Center sorting options when screen is less than 640px*/
|
||||
#sort-options {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/* Hide channel description on mobile */
|
||||
#channel-description-container {
|
||||
display: none
|
||||
}
|
||||
}
|
|
@ -52,8 +52,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-box">
|
||||
<p><span style="white-space:pre-wrap"><%= channel.description_html %></span></p>
|
||||
<div class="h-box" id="channel-description-container">
|
||||
<p id="channel-description"><span style="white-space:pre-wrap"><%= channel.description_html %></span></p>
|
||||
</div>
|
||||
|
||||
<div class="h-box">
|
||||
|
|
Loading…
Reference in a new issue