mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	feat(client/rtl): handle left
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user