diff options
Diffstat (limited to 'youtube/static/subscription.css')
-rw-r--r-- | youtube/static/subscription.css | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/youtube/static/subscription.css b/youtube/static/subscription.css index e7f0ea6..201d159 100644 --- a/youtube/static/subscription.css +++ b/youtube/static/subscription.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 ------------- */ @@ -479,17 +480,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; + } .sidebar-links { max-width: 50vw; } @@ -503,7 +508,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; |