diff --git a/.changeset/chilled-dragons-sin.md b/.changeset/chilled-dragons-sin.md new file mode 100644 index 00000000..2d1f26de --- /dev/null +++ b/.changeset/chilled-dragons-sin.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Bugfix: Adding `white-space: normal` to Overlay compontn to reset wrapping. diff --git a/src/overlay/overlay.scss b/src/overlay/overlay.scss index 7ea9b2cf..4cbb7d62 100644 --- a/src/overlay/overlay.scss +++ b/src/overlay/overlay.scss @@ -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;