Commit e30c5c7
committed
fix(hub-ui): apply the Tailwind preflight reset in storybook
Storybook's preview never imported '@unocss/reset/tailwind.css', the same
reset scripts/build-css.ts prepends to the shipped shadow-root stylesheet -
unlike real dock content, stories inherited raw browser defaults (e.g. a
text-variant ActionButton rendering as a native gray button). Import it
first, matching the production build's [reset, ...] order.1 parent 8a34e60 commit e30c5c7
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
2 | 9 | | |
3 | 10 | | |
4 | 11 | | |
| |||
0 commit comments