From 8985899ff10e3934c1cd4143a73a3332f601a705 Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 8 Sep 2026 10:25:19 +0200 Subject: [PATCH] fix: preserve compact bookmark text fallback --- packages/widgets/src/bookmarks/layout.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/widgets/src/bookmarks/layout.ts b/packages/widgets/src/bookmarks/layout.ts index 7fb0897a7..1f71bbad1 100644 --- a/packages/widgets/src/bookmarks/layout.ts +++ b/packages/widgets/src/bookmarks/layout.ts @@ -40,7 +40,8 @@ export const getBookmarkCardDisplay = ({ orientation = "horizontal"; showTitle = true; } - const showHostname = advanced || (!hideHostname && plan.showHostname); + let showHostname = advanced || (!hideHostname && plan.showHostname); + if (!advanced && plan.itemHeight <= 32 && showTitle) showHostname = false; const showIcon = advanced || !hideIcon || (!showTitle && !showHostname); return { orientation, showHostname, showIcon, showTitle }; @@ -253,7 +254,7 @@ export const getBookmarkDisplayPlan = ({ itemHeight: 32, itemWidth: width, orientation: "horizontal", - showHostname: false, + showHostname: widthSettings.showHostname, showTitle: widthSettings.showTitle, }; }