style: add dropdown max height

This commit is contained in:
iron 2021-06-09 20:31:07 +08:00 committed by GitHub
parent 9943ff7ece
commit dda6df60b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,7 @@
&__options {
visibility: visible;
min-width: 100%;
max-height: 50vh;
position: absolute;
top: 100%;
left: 50%;
@ -59,6 +60,7 @@
background-color: $dropdown-options-background-color;
border-radius: $dropdown-border-radius;
box-shadow: $shadow-soft;
overflow: auto;
animation: hide $dropdown-animation-timing/2 ease forwards;
&:before {
content: '';