Skip to content

Commit

Permalink
Bugfix: Adding whitespace normal to Overlay element (#2307)
Browse files Browse the repository at this point in the history
* Adding whitespace normal to Overlay

* Stylelint auto-fixes

* Create chilled-dragons-sin.md

Co-authored-by: Actions Auto Build <actions@github.com>
  • Loading branch information
jonrohan and actions-user authored Nov 15, 2022
1 parent ae5a7ac commit 0370244
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-dragons-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Bugfix: Adding `white-space: normal` to Overlay compontn to reset wrapping.
1 change: 1 addition & 0 deletions src/overlay/overlay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0370244

Please sign in to comment.