From b2e883365992e8619154c8a140678fb730bbf27d Mon Sep 17 00:00:00 2001 From: Breck Yunits Date: Thu, 18 Apr 2024 09:50:27 -0400 Subject: [PATCH] Header style bug fix --- grammar/gazetteTheme.grammar | 8 ++++---- package.json | 2 +- releaseNotes.scroll | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/grammar/gazetteTheme.grammar b/grammar/gazetteTheme.grammar index 2e6044d25..66fd9c509 100644 --- a/grammar/gazetteTheme.grammar +++ b/grammar/gazetteTheme.grammar @@ -73,17 +73,15 @@ gazetteCssParser padding 1ch 0 break-inside avoid text-align justify + h1,h2,h3,h4 + margin 10px 0 h1 font-size 20px - margin 10px 0 h2 font-size 18px - margin 10px 0 h3 font-size 16px - margin 10px 0 h4 - margin 10px 0 font-size 16px h1.scrollTitle text-align center @@ -111,6 +109,8 @@ gazetteCssParser text-align left margin 1.4em 0 0 0 .scrollSection:first-child + h1,h2,h3,h4 + margin-top 0 h4.scrollQuestion margin-top 0 .scrollNoteLink diff --git a/package.json b/package.json index 243411ca7..08ebcf880 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scroll-cli", - "version": "75.2.0", + "version": "75.2.1", "description": "Tools for thoughts.", "main": "scroll.js", "engines": { diff --git a/releaseNotes.scroll b/releaseNotes.scroll index 21c7a084b..0621fa5a2 100644 --- a/releaseNotes.scroll +++ b/releaseNotes.scroll @@ -4,6 +4,9 @@ title Scroll Release Notes startColumns +# 75.2.1 4/18/2024 +- 🏥 style fix: removed top margin on headers when they are in the first section + # 75.2.0 4/18/2024 - 🎨 increased the default font-size from 14px to 16px - 🎨 changed the font-family and line height of captions which previously looked off