File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,21 @@ export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean
26
26
line-height: ${ props => props . theme . typography . lineHeight } ;
27
27
28
28
p {
29
- &:last-of-type {
29
+ &:last-child {
30
30
margin-bottom: 0;
31
31
}
32
32
}
33
33
34
34
${ ( { dense } ) =>
35
35
dense &&
36
- ` p {
37
- margin: 0;
38
- }` }
36
+ `
37
+ p:first-child {
38
+ margin-top: 0;
39
+ }
40
+ p:last-child {
41
+ margin-bottom: 0;
42
+ }
43
+ ` }
39
44
40
45
${ ( { inline } ) =>
41
46
inline &&
@@ -108,9 +113,9 @@ export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean
108
113
padding-left: 2em;
109
114
margin: 0;
110
115
margin-bottom: 1em;
111
- > li {
112
- margin: 1em 0;
113
- }
116
+ // > li {
117
+ // margin: 0.5em 0;
118
+ // }
114
119
}
115
120
116
121
table {
You can’t perform that action at this time.
0 commit comments