-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Overlapping and Clipped Code Snippets in Button Documentation (docs/button/page.mdx)
URL: https://empireui.com/docs/button
Component Affected: Button Documentation Page (src/app/(home)/docs/button/page.mdx)
Screenshots
-
Code Clipping and Overlap
The code line under the Accessibility section (cva(...)) overlaps with the bullet point list, causing visual glitches and readability issues. -
Disjointed Variant Display
In thevariantssection forprimary,destructive,outline, andsecondary, values appear broken up with large vertical gaps and a lack of clarity.
Steps to Reproduce
- Visit https://empireui.com/docs/button
- Scroll to the "Accessibility" and
buttonVariantscode section(bottom of the page). - Notice overlapping text and improperly spaced code blocks.
Expected Behavior
- Code snippets should be:
- Clearly formatted and legible.
- Properly separated from adjacent content.
- Free from visual clipping, overlap, and erratic spacing.
Environment
- Browser: Chrome (latest version-136.0.7103.114 ), Microsoft Edge(version-136.0.3240.92 )
- Device: Laptop/Desktop
- OS: Windows 11
Reactions are currently unavailable

