Skip to content

Commit

Permalink
Fix markdown styles in safari
Browse files Browse the repository at this point in the history
  • Loading branch information
skirodev committed Oct 8, 2024
1 parent 220607e commit 106f58b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Markdown/markdown.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ export const useStyles = createStyles(
`,
p: css`
p {
margin-block: calc(var(--lobe-markdown-margin-multiple) * 1em);
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
margin-block-start: calc(var(--lobe-markdown-margin-multiple) * 1em);
margin-block-end: calc(var(--lobe-markdown-margin-multiple) * 1em);
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
line-height: var(--lobe-markdown-line-height);
letter-spacing: 0.02em;
}
Expand Down

0 comments on commit 106f58b

Please sign in to comment.