From a05beab3b66100b347a4e551993a7f23d23fdd8c Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 30 May 2024 18:28:15 -0400 Subject: [PATCH] Revert "Bump paragraph spacing" This reverts commit 1c4817486b51c13a0d1892bb68be1262d4d4dc5c. --- shared/editor/components/Styles.ts | 10 +++++----- shared/styles/globals.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 5b1e4d569..1eda156fd 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -320,8 +320,8 @@ width: 100%; } & > * { - margin-top: 0.85em; - margin-bottom: 0.85em; + margin-top: .5em; + margin-bottom: .5em; &:last-child { margin-bottom: 0; @@ -497,8 +497,8 @@ iframe.embed { max-width: 840px; cursor: default; - margin-top: 0.85em; - margin-bottom: 0.85em; + margin-top: 0.5em; + margin-bottom: 0.5em; .title, .subtitle { @@ -1244,7 +1244,7 @@ pre { background: ${props.theme.codeBackground}; border-radius: 4px; border: 1px solid ${props.theme.codeBorder}; - margin: 0.85em 0; + margin: .5em 0; -webkit-font-smoothing: initial; font-family: ${props.theme.fontFamilyMono}; diff --git a/shared/styles/globals.ts b/shared/styles/globals.ts index 9d0f77356..7fac03c79 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.85em; + margin-bottom: 0.5em; } h1 { font-size: 36px; } h2 { font-size: 26px; }