Vendor stylesheets load in Tailwind's base layer through a vendor.css shim, so our overrides win outright; the editor's drag placeholder takes the 12% primary

This commit is contained in:
2026-10-15 17:27:17 +02:00
parent 8f8330c9e0
commit 29156fcaec
6 changed files with 21 additions and 14 deletions
+10
View File
@@ -0,0 +1,10 @@
/*
* The libraries' own stylesheets, in Tailwind's `base` layer.
*
* Imported from TS they were unlayered, so our overrides beat them only by
* loading later, and lost wherever a lazy chunk brought the library's sheet in
* after ours. In `base` every sheet of ours and every utility wins over them.
*/
@import "@xyflow/react/dist/style.css" layer(base);
@import "uplot/dist/uPlot.min.css" layer(base);
@import "react-grid-layout/css/styles.css" layer(base);