Skip to content

Commit 9008c41

Browse files
committed
fix: return back box-sizing: border-box on <hr> (#5265)
Accidentally removed it while refactoring preset styles.
1 parent 6d7c527 commit 9008c41

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/sdk/src/__generated__/normalize.css.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sdk/src/normalize.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,15 @@ body {
9999
/**
100100
* 1. Add the correct height in Firefox.
101101
* 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
102+
* 3. width: 100% inside flexbox will overflow <hr> out of it
102103
*/
103104
hr {
104105
/* 1 */
105106
height: 0;
106107
/* 2 */
107108
color: inherit;
109+
/* 3 */
110+
box-sizing: border-box;
108111
}
109112

110113
/**

0 commit comments

Comments
 (0)