Skip to content

fix(webkit): centre a toast's leading glyph on its first title line - #1031

Merged
isaque-bock-azion merged 2 commits into
mainfrom
fix/toast-glyph-first-line
Oct 2, 2026
Merged

isaque-bock-azion merged 2 commits into
mainfrom
fix/toast-glyph-first-line

Conversation

@gabriel-lisboa-azion

Copy link
Copy Markdown
Contributor

Summary

How to test

  1. Storybook → Components/Feedback/Toast → a one-line toast's icon is centred on the title, as before.
  2. A toast with a long, wrapping title → the icon stays beside the first line.
  3. A wrapping loading toast → the spinner sits on the first line (on main it sat beside the card's middle).
  4. npx vitest run src/components/feedback/toast → all pass.

Notes

  • Visible change for wrapped loading toasts only.

The icon and spinner sit in a box one title line tall, so the glyph centres on the first line of a wrapped toast instead of the spinner centring on the whole card.
@isaque-bock-azion
isaque-bock-azion merged commit 981aed9 into main Oct 2, 2026
20 checks passed
@isaque-bock-azion
isaque-bock-azion deleted the fix/toast-glyph-first-line branch October 2, 2026 19:09
@github-actions github-actions Bot mentioned this pull request Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants