File tree 3 files changed +3
-5
lines changed
core/theme/defaultTheme/components
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const styles = StyleSheet.create( {
21
21
flex : 1 ,
22
22
alignItems : 'flex-start' ,
23
23
justifyContent : 'flex-start' ,
24
- marginHorizontal : 16
24
+ width : '100%'
25
25
} ,
26
26
scroll : {
27
27
flexGrow : 1 ,
@@ -102,8 +102,8 @@ export default function App() {
102
102
return (
103
103
< ThemeProvider theme = { customTheme } >
104
104
< SafeAreaView style = { styles . container } >
105
- < ScrollView contentContainerStyle = { styles . scroll } >
106
- < VStack >
105
+ < ScrollView contentContainerStyle = { styles . scroll } style = { { width : '100%' } } >
106
+ < VStack marginX = "3" >
107
107
< PaletteColorGrid />
108
108
< TextExamples />
109
109
< BoxExamples />
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ const Stack = ( {
24
24
25
25
return (
26
26
< Box
27
- flex = { 1 }
28
27
alignContent = 'stretch'
29
28
{ ...restProps }
30
29
flexDirection = { flexDirection }
Original file line number Diff line number Diff line change 1
1
export default {
2
2
defaultProps : {
3
- flex : 1 ,
4
3
bg : 'white' ,
5
4
borderColor : 'black' ,
6
5
borderWidth : '2' ,
You can’t perform that action at this time.
0 commit comments