Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/markdown-hr-thickness.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Set the markdown `<hr>` (thematic break) thickness to 1px using `$border-width`, down from 4px, so it matches Primer's line weight and the ~1px used by other markdown renderers.
2 changes: 1 addition & 1 deletion src/markdown/markdown-body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

hr {
height: $em-spacer-3;
height: $border-width;
padding: 0;
margin: var(--base-size-24) 0;
// stylelint-disable-next-line primer/colors
Expand Down
Loading