Skip to content

Commit 07d9f22

Browse files
committed
fix: component max width when use one of the edge positions
1 parent aed3e1b commit 07d9f22

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/styles.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,21 @@ export const positionStyles = StyleSheet.create({
2121
topLeft: {
2222
top: 0,
2323
left: 0,
24+
maxWidth: '100%',
2425
},
2526
topRight: {
2627
top: 0,
2728
right: 0,
29+
maxWidth: '100%',
2830
},
2931
bottomLeft: {
3032
bottom: 0,
3133
left: 0,
34+
maxWidth: '100%',
3235
},
3336
bottomRight: {
3437
bottom: 0,
3538
right: 0,
39+
maxWidth: '100%',
3640
},
3741
});

0 commit comments

Comments
 (0)