Skip to content

Commit 921b603

Browse files
authored
Merge pull request Expensify#64731 from dukenv0307/fix/64314
Workspaces Loading Bar Has Incorrect Style – Should Be 2px Thick, Not 1px
2 parents a2d987f + fa058d6 commit 921b603

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/pages/workspace/WorkspacesListPage.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,13 @@ function WorkspacesListPage() {
436436
bottomContent={shouldUseNarrowLayout && <NavigationTabBar selectedTab={NAVIGATION_TABS.WORKSPACES} />}
437437
enableEdgeToEdgeBottomSafeAreaPadding={false}
438438
>
439-
<TopBar breadcrumbLabel={translate('common.workspaces')} />
439+
<View style={styles.topBarWrapper}>
440+
<TopBar breadcrumbLabel={translate('common.workspaces')} />
441+
</View>
440442
{shouldShowLoadingIndicator ? (
441-
<FullScreenLoadingIndicator style={[styles.flex1, styles.pRelative]} />
443+
<View style={[styles.flex1]}>
444+
<FullScreenLoadingIndicator style={[styles.flex1, styles.pRelative]} />
445+
</View>
442446
) : (
443447
<ScrollView
444448
contentContainerStyle={styles.pt2}

src/styles/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5943,6 +5943,10 @@ const styles = (theme: ThemeColors) =>
59435943
aspectRatio: 1.7,
59445944
},
59455945

5946+
topBarWrapper: {
5947+
zIndex: 15,
5948+
},
5949+
59465950
getTestToolsNavigatorOuterView: (shouldUseNarrowLayout: boolean) => ({
59475951
flex: 1,
59485952
justifyContent: shouldUseNarrowLayout ? 'flex-end' : 'center',

0 commit comments

Comments
 (0)