From d7750c778f3273dc83974941a0a23ddef756af6b Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 3 Nov 2025 11:16:05 +0200 Subject: [PATCH] Revert "rm stylesheet" This reverts commit 2abb2324b611f9ef2d8cb2dd0f5302b9e114088c. --- src/components/Layout/index.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index 0f1defa695..2fad84d660 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -2,7 +2,11 @@ import {forwardRef, memo, useContext, useMemo} from 'react' import { ScrollView, type ScrollViewProps, +<<<<<<< HEAD type StyleProp, +======= + StyleSheet, +>>>>>>> c74c5a431 (Revert "rm stylesheet") View, type ViewProps, type ViewStyle, @@ -83,7 +87,7 @@ export const Content = memo( automaticallyAdjustsScrollIndicatorInsets={false} scrollIndicatorInsets={{bottom: footerHeight, top: 0, right: 1}} indicatorStyle={t.scheme === 'dark' ? 'white' : 'black'} - style={[a.w_full, style]} + style={[scrollViewStyles.common, style]} contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})} contentContainerStyle={[ !IS_IOS && {paddingBottom: footerHeight}, @@ -102,6 +106,12 @@ export const Content = memo( }), ) +const scrollViewStyles = StyleSheet.create({ + common: { + width: '100%', + }, +}) + export type KeyboardAwareContentProps = KeyboardAwareScrollViewProps & { children: React.ReactNode contentContainerStyle?: StyleProp