A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix padding of message card
ammarahm-ed001bdc1dc966
diff --git a/apps/mobile/app/components/list/card.js b/apps/mobile/app/components/list/card.jsindex c0c271364..dd19f95c7 100644--- a/apps/mobile/app/components/list/card.js+++ b/apps/mobile/app/components/list/card.js@@ -53,45 +53,52 @@ export const Card = ({ color, warning }) => {><Viewstyle={{- width: 40,- backgroundColor:- messageBoardState.type === "error"- ? hexToRGBA(colors.red, 0.15)- : hexToRGBA(color, 0.15),- height: 40,- borderRadius: 100,- alignItems: "center",- justifyContent: "center"+ flexDirection: "row",+ alignItems: "center"}}>- <Icon- size={SIZE.lg}- color={- messageBoardState.type === "error" ? colors.errorText : color- }- name={messageBoardState.icon}- />- </View>+ <View+ style={{+ width: 40,+ backgroundColor:+ messageBoardState.type === "error"+ ? hexToRGBA(colors.red, 0.15)+ : hexToRGBA(color, 0.15),+ height: 40,+ borderRadius: 100,+ alignItems: "center",+ justifyContent: "center"+ }}+ >+ <Icon+ size={SIZE.lg}+ color={+ messageBoardState.type === "error" ? colors.errorText : color+ }+ name={messageBoardState.icon}+ />+ </View>- <View- style={{- marginLeft: 10,- flexShrink: 1,- marginRight: 10- }}- >- <Paragraph color={colors.icon} size={SIZE.xs}>- {messageBoardState.message}- </Paragraph>- <Paragraph+ <Viewstyle={{- flexWrap: "wrap",- flexShrink: 1+ marginLeft: 10,+ flexShrink: 1,+ marginRight: 10}}- color={colors.heading}>- {messageBoardState.actionText}- </Paragraph>+ <Paragraph color={colors.icon} size={SIZE.xs}>+ {messageBoardState.message}+ </Paragraph>+ <Paragraph+ style={{+ flexWrap: "wrap",+ flexShrink: 1+ }}+ color={colors.heading}+ >+ {messageBoardState.actionText}+ </Paragraph>+ </View></View><View