start dropdown grid column

This commit is contained in:
2023-04-03 17:32:07 +08:00
parent 6234154f33
commit cb3b03f365
4 changed files with 86 additions and 19 deletions

View File

@ -108,7 +108,7 @@ $listMaxHeight: 210px;
flex: 1 1 auto;
cursor: pointer;
font-size: $mediumSize;
line-height: $headerHeight;
// line-height: $headerHeight;
padding: 0 6px;
overflow: hidden;
text-overflow: ellipsis;

View File

@ -207,6 +207,18 @@
transition: none;
}
}
.dropdown-wrapper {
height: calc(var(--line-height) + 2px);
width: 100%;
display: flex;
flex-direction: column;
>.dropdown-header {
border: none;
height: 100%;
}
}
}
}
}
@ -220,6 +232,14 @@
white-space: pre;
display: flex;
align-items: center;
visibility: hidden;
opacity: 0;
transition: visibility 0s linear .12s, opacity .12s ease;
&.active {
visibility: visible;
opacity: 1;
}
}
}