From a41ce5b8b77d72d190616641cd7115afcc4732f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Tue, 6 Feb 2024 13:50:58 +0100 Subject: [PATCH] :bug: Fix search bar being wider when recent-fonts is nil --- .../app/main/ui/workspace/sidebar/options/menus/typography.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs index f637274cb4..f759c634a6 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs @@ -103,7 +103,7 @@ fonts (mf/use-memo (mf/deps @state) #(filter-fonts @state @fonts/fonts)) recent-fonts (mf/deref refs/workspace-recent-fonts) - full-size? (boolean (and full-size recent-fonts show-recent)) + full-size? (boolean (and full-size show-recent)) select-next (mf/use-fn