From bf3bfb87ed125f22413aad2bb6fb65f54081464a Mon Sep 17 00:00:00 2001 From: Niloy Sikdar Date: Sun, 11 Sep 2022 13:20:27 +0530 Subject: [PATCH] fix(style): add default margin for button and image Add a default margin to our Button and Image components to render correctly Signed-off-by: Niloy Sikdar --- src/components/DefaultTheme/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/DefaultTheme/index.ts b/src/components/DefaultTheme/index.ts index ac44eac..bf84d02 100644 --- a/src/components/DefaultTheme/index.ts +++ b/src/components/DefaultTheme/index.ts @@ -69,6 +69,7 @@ export const defaultTheme: ThemeOptions = { fontSize: '18px', textDecoration: 'none', padding: '10px 16px', + margin: '10px 0', borderRadius: '5px', cursor: 'pointer', }, @@ -85,7 +86,9 @@ export const defaultTheme: ThemeOptions = { link: { root: { color: '#0000EE', textDecoration: 'none' } }, typography: { root: {} }, image: { - root: {}, + root: { + margin: '10px', + }, body: {}, table: {}, image: {},