File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ class YellowBoxList extends React.Component<Props, State> {
73
73
}
74
74
75
75
const listStyle = {
76
+ width : Platform . OS === 'win32' ? '85%' : undefined ,
76
77
height :
77
78
// Additional `0.5` so the (N + 1)th row can peek into view.
78
79
Math . min ( items . length , MAX_ITEMS + 0.5 ) *
@@ -126,16 +127,16 @@ const styles = StyleSheet.create({
126
127
list : {
127
128
bottom : 0 ,
128
129
position : 'absolute' ,
129
- width : Platform . OS === 'win32' ? 270 : '100%' ,
130
+ width : '100%' ,
130
131
} ,
131
132
dismissAll : {
132
- bottom : Platform . OS === 'win32' ? undefined : '100%' ,
133
+ bottom : Platform . OS === 'win32' ? 0 : '100%' ,
133
134
flexDirection : 'row' ,
134
135
justifyContent : 'flex-end' ,
135
136
paddingBottom : 4 ,
136
137
paddingEnd : 4 ,
137
138
position : 'absolute' ,
138
- width : Platform . OS === 'win32' ? 350 : '100%' ,
139
+ width : '100%' ,
139
140
} ,
140
141
safeArea : {
141
142
backgroundColor : YellowBoxStyle . getBackgroundColor ( 0.95 ) ,
You can’t perform that action at this time.
0 commit comments