diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 1eda156fd..5b1e4d569 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -320,8 +320,8 @@ width: 100%; } & > * { - margin-top: .5em; - margin-bottom: .5em; + margin-top: 0.85em; + margin-bottom: 0.85em; &:last-child { margin-bottom: 0; @@ -497,8 +497,8 @@ iframe.embed { max-width: 840px; cursor: default; - margin-top: 0.5em; - margin-bottom: 0.5em; + margin-top: 0.85em; + margin-bottom: 0.85em; .title, .subtitle { @@ -1244,7 +1244,7 @@ pre { background: ${props.theme.codeBackground}; border-radius: 4px; border: 1px solid ${props.theme.codeBorder}; - margin: .5em 0; + margin: 0.85em 0; -webkit-font-smoothing: initial; font-family: ${props.theme.fontFamilyMono}; diff --git a/shared/styles/globals.ts b/shared/styles/globals.ts index 7fac03c79..9d0f77356 100644 --- a/shared/styles/globals.ts +++ b/shared/styles/globals.ts @@ -80,7 +80,7 @@ export default createGlobalStyle` font-weight: 500; line-height: 1.25; margin-top: 1em; - margin-bottom: 0.5em; + margin-bottom: 0.85em; } h1 { font-size: 36px; } h2 { font-size: 26px; }