Skip to content

Commit

Permalink
Merge pull request #42089 from s77rt/tags-table-head-padding
Browse files Browse the repository at this point in the history
Use padding in table head only in multi-select mode
  • Loading branch information
rlinoz authored May 13, 2024
2 parents 5273888 + 26530ce commit 538040a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/pages/workspace/tags/WorkspaceTagsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,15 @@ function WorkspaceTagsPage({route}: WorkspaceTagsPageProps) {

const getCustomListHeader = () => {
const header = (
<View style={[styles.flex1, styles.flexRow, styles.justifyContentBetween, canSelectMultiple && styles.pl3, styles.pr9]}>
<View
style={[
styles.flex1,
styles.flexRow,
styles.justifyContentBetween,
// Required padding accounting for the checkbox and the right arrow in multi-select mode
canSelectMultiple && [styles.pl3, styles.pr9],
]}
>
<Text style={styles.searchInputStyle}>{translate('common.name')}</Text>
<Text style={[styles.searchInputStyle, styles.textAlignCenter]}>{translate('statusPage.status')}</Text>
</View>
Expand Down

0 comments on commit 538040a

Please sign in to comment.