Skip to content

Commit 03cf030

Browse files
committed
fix: responsive RTL dropdown position. closes: #3956
1 parent 34a8cf8 commit 03cf030

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/daisyui/src/components/dropdown.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@
103103

104104
:where(.dropdown-content) {
105105
@apply end-auto;
106+
translate: 0 0;
107+
[dir="rtl"] & {
108+
translate: 0 0;
109+
}
106110
}
107111

108112
&.dropdown-left {
@@ -162,6 +166,9 @@
162166
:where(.dropdown-content) {
163167
@apply end-0;
164168
translate: 0 0;
169+
[dir="rtl"] & {
170+
translate: 0 0;
171+
}
165172
}
166173

167174
&.dropdown-left {

0 commit comments

Comments
 (0)