Skip to content

fix: Multiline Text Dialog Description overflows when description has a long word or url#1972

Open
camielvs wants to merge 1 commit intomasterfrom
03-19-fix_multiline_text_dialog_description_overflows_when_description_has_a_long_word_or_url
Open

fix: Multiline Text Dialog Description overflows when description has a long word or url#1972
camielvs wants to merge 1 commit intomasterfrom
03-19-fix_multiline_text_dialog_description_overflows_when_description_has_a_long_word_or_url

Conversation

@camielvs
Copy link
Collaborator

@camielvs camielvs commented Mar 19, 2026

Description

fix a bug where long unbroken strings (e.g. url) in the dialog description would cause horizontal overflows of the dialog container.

Dialog description is now limited to two lines, with a "show more" button give if the user wants to expand it.

The syntax language selector was also moved out of inline and given its own space so it does not overflow.

Related Issue and Pull requests

Closes https://github.com/Shopify/oasis-frontend/issues/523

Type of Change

  • Bug fix

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

image.png

Test Instructions

Additional Comments

@github-actions
Copy link

github-actions bot commented Mar 19, 2026

🎩 To tophat this PR:

You can add the following URL parameter to your browser to tophat this PR:

`?tophat_location=03-19-fix_multiline_text_dialog_description_overflows_when_description_has_a_long_word_or_url/d07f86e`

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@camielvs camielvs force-pushed the 03-19-fix_multiline_text_dialog_description_overflows_when_description_has_a_long_word_or_url branch 2 times, most recently from fd64990 to 160f9f7 Compare March 20, 2026 00:18
@camielvs camielvs marked this pull request as ready for review March 20, 2026 00:20
@camielvs camielvs requested a review from a team as a code owner March 20, 2026 00:20
@camielvs camielvs force-pushed the 03-19-fix_multiline_text_dialog_description_overflows_when_description_has_a_long_word_or_url branch from 160f9f7 to d07f86e Compare March 20, 2026 22:22
@camielvs camielvs requested review from a team and Mbeaulne and removed request for Mbeaulne March 20, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants