Skip to content

fix(dialog): remove extra cn-dialog-close class from close button#116

Open
GuiLucas wants to merge 1 commit intomainfrom
fix/bui-78-dialog-example-in-docs-needs-fixing
Open

fix(dialog): remove extra cn-dialog-close class from close button#116
GuiLucas wants to merge 1 commit intomainfrom
fix/bui-78-dialog-example-in-docs-needs-fixing

Conversation

@GuiLucas
Copy link
Copy Markdown
Collaborator

@GuiLucas GuiLucas commented Apr 15, 2026

Summary

  • Removes the unnecessary cn-dialog-close class from the Dialog close button examples in Dialog.astro
  • The data-slot="dialog-close" attribute already handles the close behavior, so the extra class was redundant and caused styling issues

Test plan

  • Verify the dialog close button renders correctly in the docs
  • Confirm the close button still functions properly

Before
CleanShot 2026-04-15 at 10 03 08@2x
CleanShot 2026-04-15 at 10 03 03@2x

After
CleanShot 2026-04-15 at 11 25 57@2x
CleanShot 2026-04-15 at 11 26 02@2x

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ui Ready Ready Preview, Comment Apr 15, 2026 10:33am
ui-og-service Ready Ready Preview, Comment Apr 15, 2026 10:33am

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 15, 2026

⚠️ No Changeset found

Latest commit: 9caa670

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant