Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 196de0f

Browse filesBrowse 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
Copy full SHA for 196de0f

File tree

38 files changed

+9
-0
lines changed
Filter options

38 files changed

+9
-0
lines changed

‎.changeset/long-boats-swim.md

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
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

Copy file name to clipboardExpand all lines: packages/react/src/SelectPanel/SelectPanel.module.css
+4Lines changed: 4 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.