Skip to content

Commit

Permalink
removing padding from the screen and placing it in the theme
Browse files Browse the repository at this point in the history
Signed-off-by: Caroline Lucas Calheirani <[email protected]>
  • Loading branch information
CarolineLCa committed Nov 17, 2023
1 parent 7766f35 commit 0530bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/legacy/core/App/components/chat/ChatMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const MessageIcon: React.FC<{ type: CallbackType }> = ({ type }) => {
const { ChatTheme: theme, Assets } = useTheme()

return (
<View style={{ ...theme.documentIconContainer, marginBottom: 16 }}>
<View style={{ ...theme.documentIconContainer }}>
{type === CallbackType.CredentialOffer && <Assets.svg.iconCredentialOfferLight width={40} height={40} />}
{type === CallbackType.PresentationSent && <Assets.svg.iconInfoSentLight width={40} height={40} />}
{type === CallbackType.ProofRequest && <Assets.svg.iconProofRequestLight width={40} height={40} />}
Expand Down
2 changes: 1 addition & 1 deletion packages/legacy/core/App/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ export const ChatTheme = {
backgroundColor: ColorPallet.brand.primary,
alignSelf: 'flex-start',
borderRadius: 4,
marginBottom: 8,
marginBottom: 16,
justifyContent: 'center',
alignItems: 'center',
width: 50,
Expand Down

0 comments on commit 0530bee

Please sign in to comment.