Skip to content

Commit a703fa4

Browse files
committed
🐛 (autocomplete)-resolve #136 for autocomplete
#136
1 parent ee3d7d3 commit a703fa4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/autocomplete/theme.module.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@
2828
:local(.autocomplete-list) {
2929
z-index: 1;
3030
box-sizing: border-box;
31-
height: 45vh;
31+
height: fit-content;
32+
height: -moz-fit-content;
33+
max-height: 300px;
3234
width: 100%;
3335
overflow-y: auto;
3436
box-shadow: $dropdown-menu-shadow;
3537
border-radius: 2px;
3638
margin-top: 10px;
39+
padding: 2% 0;
3740
position: absolute;
3841
background-color: white;
3942

0 commit comments

Comments
 (0)