[FrontEnd]: fix dropdown design

This commit is contained in:
Jesús
2021-12-27 16:13:35 -05:00
parent b21b2a6009
commit 217541bd9c
11 changed files with 117 additions and 54 deletions

View File

@@ -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;