diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-27 16:13:35 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-27 16:13:35 -0500 |
commit | 217541bd9c72cd1cc61b69d55b0d4348872ee4c8 (patch) | |
tree | b87b14fb7bbe16a1860b1c0b19266cda9abdde25 /youtube/static/comments.css | |
parent | b21b2a60097cc4103a8457404d1c4457a2924e10 (diff) | |
download | yt-local-217541bd9c72cd1cc61b69d55b0d4348872ee4c8.tar.lz yt-local-217541bd9c72cd1cc61b69d55b0d4348872ee4c8.tar.xz yt-local-217541bd9c72cd1cc61b69d55b0d4348872ee4c8.zip |
[FrontEnd]: fix dropdown design
Diffstat (limited to 'youtube/static/comments.css')
-rw-r--r-- | youtube/static/comments.css | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/youtube/static/comments.css b/youtube/static/comments.css index 19ba373..aa279ef 100644 --- a/youtube/static/comments.css +++ b/youtube/static/comments.css @@ -107,9 +107,7 @@ header { "dropdown-label" "dropdown-content"; grid-area: dropdown; - background: var(--background); padding-right: 4rem; - z-index: 1; } .dropdown-label { grid-area: dropdown-label; @@ -274,7 +272,7 @@ label[for=options-toggle-cbox] { .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"; @@ -282,6 +280,12 @@ label[for=options-toggle-cbox] { z-index: 1; position: absolute; } + #options-toggle-cbox:checked ~ .dropdown-content { + padding: 0rem 3rem 1rem 1rem; + width: 100%; + max-height: 45vh; + overflow-y: scroll; + } .footer { display: grid; |