mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
fix: closes #13454, align dropdowns to opposite side on rtl
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user