Commit 825218b
committed
fix(react): scan all plugin src for Tailwind, not just src/react
The Tailwind v4 @source globs only scanned plugin UI under
plugins/*/src/react/**. The toolkits plugin keeps its UI directly in
src/ (page.tsx, client.tsx), so those files were never scanned and any
utility class used only there was dropped from the generated CSS.
The Toolkits content header uses min-h-12 (used nowhere else), so it was
never generated: the header lost its 48px floor and collapsed to ~36px
while the h-12 sidebar header stayed 48px, leaving the two header bottom
borders misaligned. min-h-36 and space-y-7 were dropped the same way
(min-h-36 was only masked by an inline minHeight fallback on the card).
Widen the glob to plugins/*/src/** so all plugin UI is scanned,
regardless of whether it lives under src/react. Also covers the
desktop-settings and example plugins, which have the same layout.1 parent ae87f71 commit 825218b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments