Skip to content

Commit

Permalink
fix(style): add default margin for button and image (#112)
Browse files Browse the repository at this point in the history
Add a default margin to our Button and Image components to render correctly

Signed-off-by: Niloy Sikdar <niloysikdar30@gmail.com>

Signed-off-by: Niloy Sikdar <niloysikdar30@gmail.com>
  • Loading branch information
niloysikdar committed Sep 11, 2022
1 parent a9582b3 commit 8dd243a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/DefaultTheme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const defaultTheme: ThemeOptions = {
fontSize: '18px',
textDecoration: 'none',
padding: '10px 16px',
margin: '10px 0',
borderRadius: '5px',
cursor: 'pointer',
},
Expand All @@ -85,7 +86,9 @@ export const defaultTheme: ThemeOptions = {
link: { root: { color: '#0000EE', textDecoration: 'none' } },
typography: { root: {} },
image: {
root: {},
root: {
margin: '10px',
},
body: {},
table: {},
image: {},
Expand Down

0 comments on commit 8dd243a

Please sign in to comment.