aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/playlist.css
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-12-27 16:13:35 -0500
committerJesús <heckyel@hyperbola.info>2021-12-27 16:13:35 -0500
commit217541bd9c72cd1cc61b69d55b0d4348872ee4c8 (patch)
treeb87b14fb7bbe16a1860b1c0b19266cda9abdde25 /youtube/static/playlist.css
parentb21b2a60097cc4103a8457404d1c4457a2924e10 (diff)
downloadyt-local-217541bd9c72cd1cc61b69d55b0d4348872ee4c8.tar.lz
yt-local-217541bd9c72cd1cc61b69d55b0d4348872ee4c8.tar.xz
yt-local-217541bd9c72cd1cc61b69d55b0d4348872ee4c8.zip
[FrontEnd]: fix dropdown design
Diffstat (limited to 'youtube/static/playlist.css')
-rw-r--r--youtube/static/playlist.css17
1 files changed, 11 insertions, 6 deletions
diff --git a/youtube/static/playlist.css b/youtube/static/playlist.css
index cab28da..e2171ec 100644
--- a/youtube/static/playlist.css
+++ b/youtube/static/playlist.css
@@ -102,7 +102,6 @@ header {
"dropdown-label"
"dropdown-content";
grid-area: dropdown;
- z-index: 1;
}
.dropdown-label {
grid-area: dropdown-label;
@@ -202,8 +201,10 @@ label[for=options-toggle-cbox] {
}
#options-toggle-cbox:checked ~ .dropdown-content {
- display: inline-grid;
+ display: block;
white-space: nowrap;
+ background: var(--secondary-background);
+ padding: 0.5rem 1rem;
}
/*- ----------- End Menu Mobile sin JS ------------- */
@@ -486,17 +487,21 @@ hr {
.dropdown {
display: grid;
grid-gap: 1px;
- grid-template-columns: minmax(50px, 100px);
+ grid-template-columns: minmax(50px, 120px);
grid-template-areas:
"dropdown-label"
"dropdown-content";
grid-area: dropdown;
- background: var(--background);
padding-right: 4rem;
z-index: 1;
position: absolute;
}
-
+ #options-toggle-cbox:checked ~ .dropdown-content {
+ padding: 0rem 3rem 1rem 1rem;
+ width: 100%;
+ max-height: 45vh;
+ overflow-y: scroll;
+ }
.playlist-metadata {
max-width: 50vw;
}
@@ -510,7 +515,7 @@ hr {
grid-area: playlist;
}
.play-clean {
- grid-template-columns: minmax(50px, 100px);
+ grid-template-columns: minmax(50px, 120px);
}
.play-clean > button {
padding-left: 0px;