Skip to content

Commit addc495

Browse files
committed
Set WorkspacesListPage header button paddingTop to 8px
1 parent 28beda0 commit addc495

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pages/workspace/WorkspacesListPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ function WorkspacesListPage() {
318318

319319
const listHeaderComponent = useCallback(() => {
320320
if (isLessThanMediumScreen) {
321-
return <View style={styles.mt3} />;
321+
return <View style={styles.mt2} />;
322322
}
323323

324324
return (
@@ -490,7 +490,7 @@ function WorkspacesListPage() {
490490
<FullScreenLoadingIndicator style={[styles.flex1, styles.pRelative]} />
491491
) : (
492492
<ScrollView
493-
contentContainerStyle={styles.pt3}
493+
contentContainerStyle={styles.pt2}
494494
addBottomSafeAreaPadding
495495
>
496496
<View style={[styles.flex1, isLessThanMediumScreen ? styles.workspaceSectionMobile : styles.workspaceSection]}>
@@ -524,7 +524,7 @@ function WorkspacesListPage() {
524524
>
525525
<View style={styles.flex1}>
526526
<TopBar breadcrumbLabel={translate('common.workspaces')}>{!shouldUseNarrowLayout && <View style={[styles.pr2]}>{getHeaderButton()}</View>}</TopBar>
527-
{shouldUseNarrowLayout && <View style={[styles.ph5, styles.pt3]}>{getHeaderButton()}</View>}
527+
{shouldUseNarrowLayout && <View style={[styles.ph5, styles.pt2]}>{getHeaderButton()}</View>}
528528
<FlatList
529529
data={workspaces}
530530
renderItem={getMenuItem}

0 commit comments

Comments
 (0)