Skip to content

Conversation

maradwan26
Copy link
Contributor

Closes #20570

Fixed a bug with the toast notification spacing in web components to match the design spec.

Changelog

Removed

  • Removed an extra div in the component's render that resulted in the ${prefix}--${type}-notification__details class being applied twice

Testing / Reviewing

  • Go to Notifications/Toast/Default in WC Deploy Preview
  • The bottom spacing should be 16px/1rem to match React and the Design spec

PR Checklist

As the author of this PR, before marking ready for review, confirm you:

  • Reviewed every line of the diff
  • Updated documentation and storybook examples
  • [ ] Wrote passing tests that cover this change
  • [ ] Addressed any impact on accessibility (a11y)
  • Tested for cross-browser consistency
  • Validated that this code is ready for review and status checks should pass

@maradwan26 maradwan26 requested a review from a team as a code owner September 26, 2025 18:57
@maradwan26 maradwan26 requested review from a team, kennylam and sunny-babbar and removed request for a team September 26, 2025 18:57
Copy link

netlify bot commented Sep 26, 2025

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit 91f4558
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/68d6e22b5034eb00087084c6
😎 Deploy Preview https://deploy-preview-20605--v11-carbon-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Sep 26, 2025

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 91f4558
🔍 Latest deploy log https://app.netlify.com/projects/carbon-elements/deploys/68d6e22ca474e80008afa4c2
😎 Deploy Preview https://deploy-preview-20605--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

codecov bot commented Sep 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.13%. Comparing base (30b4f87) to head (91f4558).
⚠️ Report is 237 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #20605      +/-   ##
==========================================
+ Coverage   91.39%   92.13%   +0.73%     
==========================================
  Files         485      484       -1     
  Lines       31370    32729    +1359     
  Branches     5430     5574     +144     
==========================================
+ Hits        28670    30154    +1484     
+ Misses       2547     2429     -118     
+ Partials      153      146       -7     
Flag Coverage Δ
main-packages 85.34% <ø> (+0.40%) ⬆️
web-components 97.54% <ø> (+0.37%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

netlify bot commented Sep 26, 2025

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 91f4558
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/68d6e22bdc00b400093bb2e6
😎 Deploy Preview https://deploy-preview-20605--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@tay1orjones
Copy link
Member

@kennylam is moving the position of a slot in the dom a disruptive (or breaking?) change?

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.

[Bug]: WC Notification spacing
3 participants