1
1
mirror of https://github.com/primer/css.git synced 2024-11-25 18:26:14 +03:00

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 <actions@github.com>
This commit is contained in:
Jon Rohan 2022-11-15 09:48:34 -08:00 committed by GitHub
parent ae5a7ac88b
commit 0370244f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
Bugfix: Adding `white-space: normal` to Overlay compontn to reset wrapping.

View File

@ -18,6 +18,7 @@ $primer-borderRadius-large: 0.75rem;
width: min(var(--overlay-width), 100vw - 2rem);
min-width: 192px;
max-height: min(calc(100vh - 2rem), var(--overlay-height));
white-space: normal;
flex-direction: column;
background-color: var(--color-canvas-overlay);
border-radius: $primer-borderRadius-large;