You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation for the sidebar block, there is an issue where the h-[--header-height] class does not work as expected in a local Tailwind setup. However, in the v0 documentation server, it appears to work without additional configuration.
The h-[--header-height] class does not work in my local environment, but replacing it with h-[var(--header-height)] makes it work correctly.
In the v0 documentation server, it seems to work without needing changes.
Environment:
Tailwind CSS version: ^4.0.14
React version: ^19.0.0
Browser: Google Chrome 134.0.6998.118
Question:
Is this behavior expected due to a required Tailwind configuration, or should h-[--header-height] work without modification? If any specific configuration is required, could it be documented?
Additional Issue: top-[var(--header-height)] Not Working in sm Screens
On sm screens, the sidebar does not stay positioned below the header.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
In the documentation for the sidebar block, there is an issue where the h-[--header-height] class does not work as expected in a local Tailwind setup. However, in the v0 documentation server, it appears to work without additional configuration.
Affected Files:
Issue:
The
h-[--header-height]
class does not work in my local environment, but replacing it withh-[var(--header-height)]
makes it work correctly.In the v0 documentation server, it seems to work without needing changes.
Environment:
Question:
Is this behavior expected due to a required Tailwind configuration, or should h-[--header-height] work without modification? If any specific configuration is required, could it be documented?
Additional Issue:
top-[var(--header-height)]
Not Working insm
ScreensOn
sm
screens, thesidebar
does not stay positioned below theheader
.Beta Was this translation helpful? Give feedback.
All reactions