Skip to content

Commit b3f5f9d

Browse files
authored
Merge pull request #414 from marp-team/scaffold-theme-h1-styling
Scaffold theme: Don't overload UA's inline margin for `<h1>` element
2 parents afd9922 + 3417f8f commit b3f5f9d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
- Upgrade Node.js LTS and dependent packages to the latest version ([#413](https://github.com/marp-team/marpit/pull/413))
1313

14+
### Fixed
15+
16+
- Scaffold theme: Don't overload UA's inline margin for `<h1>` element ([#414](https://github.com/marp-team/marpit/pull/414))
17+
1418
## v3.1.2 - 2024-12-23
1519

1620
### Changed

src/theme/scaffold.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ section:not([data-marpit-pagination])::after {
3333
/* Normalization */
3434
h1 {
3535
font-size: 2em;
36-
margin: 0.67em 0;
36+
margin-block: 0.67em;
3737
}
3838
3939
video::-webkit-media-controls {

0 commit comments

Comments
 (0)