From 2cc9a7e8f86aec12708fe55fa0a570905df7117a Mon Sep 17 00:00:00 2001 From: Vyacheslav Scherbinin Date: Thu, 8 Oct 2026 21:07:47 +0700 Subject: [PATCH] fix(app): wrap sidebar empty-state actions so longer labels stay inside the card The "Add project" / "Import session" row in the sidebar's empty state is a non-wrapping flex row. With longer translations (e.g. Russian) the second button overflows the card at the default 320px sidebar width. Co-Authored-By: Claude Opus 5.5 --- packages/app/src/components/sidebar/empty-states.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/app/src/components/sidebar/empty-states.tsx b/packages/app/src/components/sidebar/empty-states.tsx index 3328ed2c5c..0e5daa7007 100644 --- a/packages/app/src/components/sidebar/empty-states.tsx +++ b/packages/app/src/components/sidebar/empty-states.tsx @@ -99,6 +99,7 @@ const styles = StyleSheet.create((theme) => ({ }, actions: { flexDirection: "row", + flexWrap: "wrap", gap: theme.spacing[2], marginTop: theme.spacing[4], },