Skip to content

Commit 825218b

Browse files
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

File tree

packages/react/src/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@source "../**/*.{ts,tsx}";
66
@source "../../../../apps/local/src/**/*.{ts,tsx}";
77
@source "../../../../apps/cloud/src/**/*.{ts,tsx}";
8-
@source "../../../plugins/*/src/react/**/*.{ts,tsx}";
8+
@source "../../../plugins/*/src/**/*.{ts,tsx}";
99

1010
@theme inline {
1111
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

0 commit comments

Comments
 (0)