Skip to content

Commit 0370244

Browse files
Bugfix: Adding whitespace normal to Overlay element (#2307)
* Adding whitespace normal to Overlay * Stylelint auto-fixes * Create chilled-dragons-sin.md Co-authored-by: Actions Auto Build <[email protected]>
1 parent ae5a7ac commit 0370244

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/chilled-dragons-sin.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Bugfix: Adding `white-space: normal` to Overlay compontn to reset wrapping.

src/overlay/overlay.scss

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ $primer-borderRadius-large: 0.75rem;
1818
width: min(var(--overlay-width), 100vw - 2rem);
1919
min-width: 192px;
2020
max-height: min(calc(100vh - 2rem), var(--overlay-height));
21+
white-space: normal;
2122
flex-direction: column;
2223
background-color: var(--color-canvas-overlay);
2324
border-radius: $primer-borderRadius-large;

0 commit comments

Comments
 (0)