0
0
mirror of https://github.com/conventional-commits/conventionalcommits.org.git synced 2025-08-25 07:15:33 +00:00

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