Skip to content

Commit

Permalink
Merge pull request #49679 from truph01/fix/49075
Browse files Browse the repository at this point in the history
feat: move intro text to ScrollView
  • Loading branch information
srikarparsi authored Sep 25, 2024
2 parents 3b8c760 + 99b3b90 commit 1354957
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/pages/workspace/WorkspaceMoreFeaturesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,13 @@ function WorkspaceMoreFeaturesPage({policy, route}: WorkspaceMoreFeaturesPagePro
title={translate('workspace.common.moreFeatures')}
shouldShowBackButton={shouldUseNarrowLayout}
/>
<Text style={[styles.ph5, styles.mb4, styles.mt3, styles.textSupporting, shouldUseNarrowLayout ? styles.workspaceSectionMobile : styles.workspaceSection]}>
{translate('workspace.moreFeatures.subtitle')}
</Text>

<ScrollView contentContainerStyle={styles.pb2}>{sections.map(renderSection)}</ScrollView>
<ScrollView contentContainerStyle={styles.pb2}>
<Text style={[styles.ph5, styles.mb4, styles.mt3, styles.textSupporting, shouldUseNarrowLayout ? styles.workspaceSectionMobile : styles.workspaceSection]}>
{translate('workspace.moreFeatures.subtitle')}
</Text>
{sections.map(renderSection)}
</ScrollView>

<ConfirmModal
title={translate('workspace.moreFeatures.connectionsWarningModal.featureEnabledTitle')}
Expand Down

0 comments on commit 1354957

Please sign in to comment.