From b9516382aea50484fb8d3a0ebe1caee69fbaeace Mon Sep 17 00:00:00 2001 From: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com> Date: Tue, 21 May 2024 20:06:52 +0100 Subject: [PATCH] Make header buttons flexible (grow and shrink) to take full available space --- src/pages/workspace/categories/WorkspaceCategoriesPage.tsx | 4 ++-- src/pages/workspace/tags/WorkspaceTagsPage.tsx | 4 ++-- src/pages/workspace/taxes/WorkspaceTaxesPage.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx index a8f863583f7e..7c483b47774a 100644 --- a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx +++ b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx @@ -225,7 +225,7 @@ function WorkspaceCategoriesPage({route}: WorkspaceCategoriesPageProps) { onPress={navigateToCreateCategoryPage} icon={Expensicons.Plus} text={translate('workspace.categories.addCategory')} - style={[styles.mr3, isSmallScreenWidth && styles.w50]} + style={[styles.mr3, isSmallScreenWidth && styles.flex1]} /> )}