Skip to content

Commit 1a3b7d1

Browse files
Version Packages (#1309)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7234241 commit 1a3b7d1

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.changeset/trim-markdown-renderer-margins.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @autoguru/overdrive
22

3+
## 4.52.1
4+
5+
### Patch Changes
6+
7+
- 7234241: Remove excessive top/bottom margins on first/last children inside
8+
MarkdownRenderer
9+
10+
The MarkdownHeading component applies `mt="5"` to all headings, which creates
11+
unwanted spacing when a heading is the first element rendered. This adds
12+
`globalStyle` rules to the MarkdownRenderer root to strip `margin-top` from
13+
the first child and `margin-bottom` from the last child, ensuring the
14+
component sits flush within its container.
15+
316
## 4.52.0
417

518
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@autoguru/overdrive",
3-
"version": "4.52.0",
3+
"version": "4.52.1",
44
"description": "Overdrive is a product component library, and design system for AutoGuru.",
55
"types": "dist/index.d.ts",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)