Repository navigation
Commit 5f23c7a
fix(desktop): make the annotation editor border and shadow actually render
The compact annotation editor was easy to lose while annotating: it had
no visible border or shadow even though its classes asked for both.
Tailwind registers its --tw-* defaults with @Property, which browsers
ignore inside a shadow tree, and only emits the * fallback for engines
without @Property. So border, shadow-* and ring-* on the overlay were
silently dropped.
The build script now lifts that fallback out of its @supports guard so
it applies inside the shadow root, and fails if any @supports wrapper is
left under @layer properties after a Tailwind bump.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent 4ee6bfd commit 5f23c7a
2 files changed
Lines changed: 12 additions & 2 deletions
File tree
- apps/desktop
- scripts
- src/preview
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
| |||
0 commit comments