Skip to content

Commit 0439d1f

Browse files
committed
improve base-select max height. closes: #4091
1 parent 6e62ec2 commit 0439d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/daisyui/src/components/select.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
}
7575
&::picker(select) {
7676
color: inherit;
77-
max-height: 70dvh;
77+
max-height: min(24rem, 70dvh);
7878
border: var(--border) solid var(--color-base-200);
7979
@apply rounded-box my-2 p-2;
8080
background-color: inherit;

0 commit comments

Comments
 (0)