fix: closes #13454, align dropdowns to opposite side on rtl

This commit is contained in:
Barış Soner Uşaklı
2025-05-29 11:36:46 -04:00
parent 49b5268e52
commit 72417d82bd

View File

@@ -23,11 +23,13 @@
display: block;
}
}
.dropdown-left {
.dropdown-menu { --bs-position: start; }
html[data-dir="ltr"] {
.dropdown-left .dropdown-menu { --bs-position: start; }
.dropdown-right .dropdown-menu { --bs-position: end; }
}
.dropdown-right {
.dropdown-menu { --bs-position: end; }
html[data-dir="rtl"] {
.dropdown-left .dropdown-menu { --bs-position: end; }
.dropdown-right .dropdown-menu { --bs-position: start; }
}
.category-dropdown-menu {