mirror of
https://github.com/iv-org/invidious
synced 2024-11-30 23:13:30 +01:00
Hide channel description on small screens
This commit is contained in:
parent
e8d5fa5142
commit
b4339ec9d1
@ -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 New Issue
Block a user