layout: more double margins implementations

This commit is contained in:
Lemmy
2026-02-20 21:11:06 -05:00
parent b36bef4cc0
commit db56321f54
50 changed files with 95 additions and 95 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ PopupWindow {
const item = root.items[i];
if (item && item.text) {
// Calculate width: margins + icon (if present) + spacing + text width
let itemWidth = Style.marginS * 2; // left and right margins
let itemWidth = Style.margin2S; // left and right margins
if (item.icon && item.icon !== "") {
itemWidth += Style.fontSizeL + Style.marginS; // icon + spacing