Skip to content

Conversation

@ycmjason
Copy link

@ycmjason ycmjason commented Oct 30, 2025

the correct usage should be -(--variable-name) instead of -[--variable-name].

w-() width: var();

https://tailwindcss.com/docs/width

Copilot AI review requested due to automatic review settings October 30, 2025 07:00
@vercel
Copy link

vercel bot commented Oct 30, 2025

@ycmjason is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modifies the CSS class syntax for width properties in the sidebar documentation examples, changing from square brackets to parentheses when referencing CSS custom properties. This change affects two code examples demonstrating dropdown menus in sidebar headers and footers.

  • Changed CSS custom property syntax from w-[--radix-popper-anchor-width] to w-(--radix-popper-anchor-width) in two locations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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