feat(client/rtl): handle left

This commit is contained in:
Elian Doran
2025-10-08 17:50:54 +03:00
parent a8e44afd6d
commit db1bcfda45
21 changed files with 80 additions and 80 deletions

View File

@@ -151,7 +151,7 @@ class ContextMenu {
.css({
display: "block",
top: top,
left: left
"inset-inline-start": left
})
.addClass("show");
}
@@ -187,7 +187,7 @@ class ContextMenu {
}
// Create a new group to avoid column breaks before and after the seaparator / header.
// This is a workaround for Firefox not supporting break-before / break-after: avoid
// This is a workaround for Firefox not supporting break-before / break-after: avoid
// for columns.
if (shouldStartNewGroup) {
$group = $("<div class='dropdown-no-break'>");
@@ -313,7 +313,7 @@ class ContextMenu {
}
$group.append($item);
// After adding a menu item, if the previous item was a separator or header,
// reset the group so that the next item will be appended directly to the parent.
if (shouldResetGroup) {