From 90338c25c62198aedd9cb2229bec839d24d3ef49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 31 Dec 2021 18:15:59 -0500 Subject: [FrontEnd]: fix dropdown design --- youtube/static/subscription.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'youtube/static/subscription.css') diff --git a/youtube/static/subscription.css b/youtube/static/subscription.css index 201d159..e4e9c8b 100644 --- a/youtube/static/subscription.css +++ b/youtube/static/subscription.css @@ -480,7 +480,7 @@ 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"; @@ -490,9 +490,8 @@ hr { position: absolute; } #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; } .sidebar-links { @@ -508,7 +507,7 @@ hr { grid-area: playlist; } .play-clean { - grid-template-columns: minmax(50px, 120px); + grid-template-columns: 100px auto; } .play-clean > button { padding-left: 0px; -- cgit v1.2.3