Skip to content

Commit 4aad9f7

Browse files
authored
Merge pull request #642 from sudhanshutech/fix/margin
fix margin for some tags in markdown support
2 parents a304901 + aa2ee0b commit 4aad9f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/custom/Markdown/style.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const StyledMarkdown = styled('a')(({ theme }) => ({
1212

1313
export const StyledMarkdownP = styled('p')(({ theme }) => ({
1414
color: theme.palette.text.default,
15+
marginBlock: '0px',
1516
...theme.typography.textB1Regular
1617
}));
1718

@@ -61,10 +62,12 @@ export const StyledMarkdownLi = styled('li')(({ theme }) => ({
6162

6263
export const StyledMarkdownTh = styled('th')(({ theme }) => ({
6364
color: theme.palette.text.default,
64-
...theme.typography.textH3Medium
65+
...theme.typography.textH3Medium,
66+
marginBlock: '0px'
6567
}));
6668

6769
export const StyledMarkdownTd = styled('td')(({ theme }) => ({
6870
color: theme.palette.text.default,
71+
marginBlock: '0px',
6972
...theme.typography.textB1Regular
7073
}));

0 commit comments

Comments
 (0)