Skip to content

Commit 624a0a6

Browse files
pdanpdansaadeghi
andauthored
fix: allow outline on all methods of dropdown, not just summary
Co-authored-by: Pouya Saadeghi <[email protected]>
1 parent 1695832 commit 624a0a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/daisyui/src/components/dropdown.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@apply relative inline-block;
44
position-area: var(--anchor-v, bottom) var(--anchor-h, span-right);
55

6-
& > *:not(summary):focus {
6+
& > *:not(:has(~ [class*="dropdown-content"])):focus {
77
@apply outline-hidden;
88
}
99
.dropdown-content {

0 commit comments

Comments
 (0)