aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/local_playlist.css
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-12-31 18:15:59 -0500
committerJesús <heckyel@hyperbola.info>2021-12-31 18:15:59 -0500
commit90338c25c62198aedd9cb2229bec839d24d3ef49 (patch)
treead74d1d731bb0184c1848a164c5f1110d959c607 /youtube/static/local_playlist.css
parentf572bb62aa29b322c6d6121e04141dc236a38666 (diff)
downloadyt-local-90338c25c62198aedd9cb2229bec839d24d3ef49.tar.lz
yt-local-90338c25c62198aedd9cb2229bec839d24d3ef49.tar.xz
yt-local-90338c25c62198aedd9cb2229bec839d24d3ef49.zip
[FrontEnd]: fix dropdown design
Diffstat (limited to 'youtube/static/local_playlist.css')
-rw-r--r--youtube/static/local_playlist.css13
1 files changed, 5 insertions, 8 deletions
diff --git a/youtube/static/local_playlist.css b/youtube/static/local_playlist.css
index f40df49..dedd2dd 100644
--- a/youtube/static/local_playlist.css
+++ b/youtube/static/local_playlist.css
@@ -477,20 +477,17 @@ hr {
.dropdown {
display: grid;
grid-gap: 1px;
- grid-template-columns: minmax(50px, 120px);
+ grid-template-columns: 100px auto;
grid-template-areas:
"dropdown-label"
"dropdown-content";
grid-area: dropdown;
- background: var(--background);
- padding-right: 4rem;
- z-index: 1;
position: absolute;
+ z-index: 1;
}
#options-toggle-cbox:checked ~ .dropdown-content {
- padding: 0rem 3rem 1rem 1rem;
- width: 100%;
- max-height: 45vh;
+ width: calc(100% + 100px);
+ max-height: 80vh;
overflow-y: scroll;
}
.playlist-metadata {
@@ -506,7 +503,7 @@ hr {
grid-area: playlist;
}
.play-clean {
- grid-template-columns: minmax(50px, 120px);
+ grid-template-columns: 100px auto;
}
.play-clean > button {
padding-left: 0px;