From 635c6efe428313e2f9913771248aa76cd4ee324c Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 2 Oct 2024 12:32:10 +0200 Subject: [PATCH 1/2] :bug: Fix problem with Ctrl+F shortcut on the dashboard --- CHANGES.md | 6 ++++++ frontend/src/app/main/ui/dashboard/search.cljs | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 3e92235c3..30d378d54 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # CHANGELOG +## 2.2.1 + +### :bug: Bugs fixed + +- Fix problem with Ctrl+F shortcut on the dashboard [Taiga #8876](https://tree.taiga.io/project/penpot/issue/8876) + ## 2.2.0 ### :rocket: Epics and highlights diff --git a/frontend/src/app/main/ui/dashboard/search.cljs b/frontend/src/app/main/ui/dashboard/search.cljs index 401d33494..862fc700a 100644 --- a/frontend/src/app/main/ui/dashboard/search.cljs +++ b/frontend/src/app/main/ui/dashboard/search.cljs @@ -19,7 +19,8 @@ (mf/defc search-page [{:keys [team search-term] :as props}] - (let [result (mf/deref refs/dashboard-search-result) + (let [search-term (or search-term "") + result (mf/deref refs/dashboard-search-result) [rowref limit] (hooks/use-dynamic-grid-item-width)] (mf/use-effect From 471c636580f661e26d8170e65fc7030ff9144a4e Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 2 Oct 2024 12:32:23 +0200 Subject: [PATCH 2/2] :bug: Fix visual problem with the font-size dropdown in assets --- CHANGES.md | 1 + frontend/src/app/main/ui/workspace/sidebar/assets.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 30d378d54..84142bd48 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ ### :bug: Bugs fixed - Fix problem with Ctrl+F shortcut on the dashboard [Taiga #8876](https://tree.taiga.io/project/penpot/issue/8876) +- Fix visual problem with the font-size dropdown in assets [Taiga #8872](https://tree.taiga.io/project/penpot/issue/8872) ## 2.2.0 diff --git a/frontend/src/app/main/ui/workspace/sidebar/assets.scss b/frontend/src/app/main/ui/workspace/sidebar/assets.scss index f72363a23..830ec17be 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/assets.scss +++ b/frontend/src/app/main/ui/workspace/sidebar/assets.scss @@ -11,7 +11,7 @@ height: 100%; grid-auto-rows: max-content; // TODO: ugly hack :( Fix this! we shouldn't be hardcoding this height - max-height: calc(100vh - $s-80); + height: calc(100vh - $s-92); scrollbar-gutter: stable; overflow-y: auto; padding-top: $s-8;