Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 5015039

Browse files
MortimerGorobluemarvin
authored andcommitted
Add 1 column Youtube CSS layout rule (#2644)
1 parent 5797d75 commit 5015039

File tree

1 file changed

+8
-1
lines changed
  • app/src/main/assets/web_extensions/webcompat_youtube

1 file changed

+8
-1
lines changed

app/src/main/assets/web_extensions/webcompat_youtube/main.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@ ytd-rich-grid-video-renderer {
1616
min-width: 0px;
1717
}
1818

19-
@media screen and (max-width: 899px) {
19+
@media screen and (max-width: 700px) {
20+
ytd-rich-grid-renderer {
21+
--ytd-rich-grid-items-per-row: 1 !important;
22+
--ytd-rich-grid-posts-per-row: 1 !important;
23+
}
24+
}
25+
26+
@media screen and (max-width: 899px) and (min-width: 701px) {
2027
ytd-rich-grid-renderer {
2128
--ytd-rich-grid-items-per-row: 2 !important;
2229
--ytd-rich-grid-posts-per-row: 2 !important;

0 commit comments

Comments
 (0)