Skip to content

Commit 70db44f

Browse files
authored
fix(next): document header padding on tablet sized screens (#11192)
This PR fixes an issue where padding around the `DocumentHeader` component disappears at the `mid-break` viewport size. The issue was caused by .doc-header applying padding-left: 0 and padding-right: 0, which overrode the intended padding from the parent Gutter component in certain scenarios.
1 parent 077fb3a commit 70db44f

File tree

1 file changed

+0
-2
lines changed
  • packages/next/src/elements/DocumentHeader

1 file changed

+0
-2
lines changed

packages/next/src/elements/DocumentHeader/index.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
}
3535

3636
@include mid-break {
37-
padding-left: 0;
38-
padding-right: 0;
3937
margin-top: base(0.25);
4038
padding-bottom: calc(var(--base) / 1.5);
4139
flex-direction: column;

0 commit comments

Comments
 (0)