Skip to content

Commit 663c268

Browse files
committed
prevent alternatives text overflow in UnmaintainedLabel component
1 parent e942d73 commit 663c268

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

components/Library/UnmaintainedLabel.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ const styles = StyleSheet.create({
6565
unmaintainedTextWrapper: {
6666
flexDirection: 'row',
6767
gap: 6,
68+
flexShrink: 1,
6869
},
6970
unmaintainedTextContainer: {
7071
alignItems: 'flex-start',
@@ -78,6 +79,8 @@ const styles = StyleSheet.create({
7879
gap: 4,
7980
borderWidth: 1,
8081
borderLeftWidth: 0,
82+
flexShrink: 1,
83+
flexWrap: 'wrap',
8184
},
8285
});
8386

0 commit comments

Comments
 (0)