Skip to content

Commit 57cb670

Browse files
authored
prevent alternatives text overflow in UnmaintainedLabel component (#1745)
1 parent e942d73 commit 57cb670

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

components/Library/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ const styles = StyleSheet.create({
268268
backgroundColor: 'transparent',
269269
},
270270
updatedAtContainer: {
271-
gap: 8,
271+
gap: 24,
272272
flexDirection: 'row',
273273
alignItems: 'flex-start',
274274
justifyContent: 'space-between',

0 commit comments

Comments
 (0)