Skip to content

Commit 196de0f

Browse files
Fix spacing for SelectPanel header on modal to better align with x button (#5962)
Co-authored-by: francinelucca <40550942+francinelucca@users.noreply.github.com>
1 parent 5cb35f3 commit 196de0f

File tree

38 files changed

+9
-0
lines changed

38 files changed

+9
-0
lines changed

.changeset/long-boats-swim.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Fix spacing for SelectPanel header on modal to better align with x button

packages/react/src/SelectPanel/SelectPanel.module.css

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
font-size: var(--text-body-size-medium);
2525
}
2626

27+
.Wrapper[data-variant='modal'] .Title {
28+
margin-top: var(--base-size-8); /* styling specific to the modal variant */
29+
}
30+
2731
.Subtitle {
2832
margin-left: var(--base-size-8);
2933
font-size: var(--text-body-size-small);

0 commit comments

Comments
 (0)