Skip to content

Commit

Permalink
button with dropdown menu full width
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Mar 19, 2024
1 parent 0ee8c4d commit 592ab8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function WorkspaceCategoriesPage({policy, policyCategories, route}: WorkspaceCat
buttonSize={CONST.DROPDOWN_BUTTON_SIZE.MEDIUM}
customText={translate('workspace.common.selected', {selectedNumber: selectedCategoriesArray.length})}
options={options}
style={[isSmallScreenWidth && styles.w50, isSmallScreenWidth && styles.mb3]}
style={[isSmallScreenWidth && styles.flexGrow1, isSmallScreenWidth && styles.mb3]}
/>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/tags/WorkspaceTagsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function WorkspaceTagsPage({policyTags, route}: WorkspaceTagsPageProps) {
buttonSize={CONST.DROPDOWN_BUTTON_SIZE.MEDIUM}
customText={translate('workspace.common.selected', {selectedNumber: selectedTagsArray.length})}
options={options}
style={[isSmallScreenWidth && styles.w50, isSmallScreenWidth && styles.mb3]}
style={[isSmallScreenWidth && styles.flexGrow1, isSmallScreenWidth && styles.mb3]}
/>
);
}
Expand Down

0 comments on commit 592ab8a

Please sign in to comment.