Skip to content

Clarify z-1 validity in Tailwind CSS v4#3

Draft
Copilot wants to merge 1 commit intoagentic-upgradefrom
copilot/sub-pr-2
Draft

Clarify z-1 validity in Tailwind CSS v4#3
Copilot wants to merge 1 commit intoagentic-upgradefrom
copilot/sub-pr-2

Conversation

Copy link

Copilot AI commented Feb 26, 2026

A review comment flagged z-1 in navigation-menu.tsx as invalid since it's not in Tailwind v3's default z-index scale. This project uses Tailwind v4 (^4.1.18), where bracket-less numeric utilities are natively supported.

Changes

  • No code changesz-1 is correct for Tailwind v4 and generates z-index: 1 as intended
  • Responded to the review thread confirming z-1 is valid in v4, distinguishing it from v3 behavior where z-[1] (arbitrary value syntax) would have been required

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] WIP address feedback from review on merging agentic-upgrade Clarify z-1 validity in Tailwind CSS v4 Feb 26, 2026
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.

2 participants