Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix failed inbox item text goes outside the view

Ammar Ahmedffecb2f9cba6
diff --git a/apps/mobile/app/screens/settings/failed-inbox-items.tsx b/apps/mobile/app/screens/settings/failed-inbox-items.tsx
index 9beb1dfb9..3620bc56b 100644
--- a/apps/mobile/app/screens/settings/failed-inbox-items.tsx
+++ b/apps/mobile/app/screens/settings/failed-inbox-items.tsx
@@ -332,7 +332,8 @@ export const FailedInboxItems = () => {
<View
style={{
flexDirection: "row",
- gap: DefaultAppStyles.GAP_SMALL
+ gap: DefaultAppStyles.GAP_SMALL,
+ alignItems: "flex-start"
}}
>
<View
@@ -340,12 +341,20 @@ export const FailedInboxItems = () => {
backgroundColor: colors.error.background,
padding: 3,
paddingHorizontal: 6,
- borderRadius: 4
+ borderRadius: 4,
+ alignItems: "center",
+ flexWrap: "wrap"
}}
>
<Paragraph color={colors.error.paragraph}>Error</Paragraph>
</View>
- <Paragraph> {(description as string) || "N/A"}</Paragraph>
+ <Paragraph
+ style={{
+ flexShrink: 1
+ }}
+ >
+ {(description as string) || "N/A"}
+ </Paragraph>
</View>
{details ? (