Skip to content

Commit 3ad9674

Browse files
committed
fix(Example): style min width
1 parent 1f399f5 commit 3ad9674

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Example/Styles.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {StatusBar, StyleSheet} from "react-native";
1+
import {Platform, StatusBar, StyleSheet} from "react-native";
22

33
export default StyleSheet.create({
44
mainContainer: {
@@ -39,8 +39,13 @@ export default StyleSheet.create({
3939
},
4040
spinner: {
4141
flex: 1,
42-
width: "auto",
4342
marginRight: 10,
43+
...Platform.select({
44+
web: {},
45+
default: {
46+
minWidth: 150,
47+
},
48+
}),
4449
},
4550
simbol: {
4651
marginLeft: 10,

0 commit comments

Comments
 (0)