Skip to content

Commit 9f1848e

Browse files
committed
fix: make ui css imports package-install safe
1 parent 55f9aba commit 9f1848e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@srl-labs/clab-ui",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"private": false,
55
"type": "module",
66
"main": "src/index.ts",

packages/ui/src/styles/global.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
* ============================================================================= */
44

55
/* Third-party CSS imports */
6-
/* Use explicit paths so Madge can resolve these imports (lint:circular). */
7-
@import "../../../../node_modules/maplibre-gl/dist/maplibre-gl.css";
8-
@import "../../../../node_modules/@xyflow/react/dist/style.css";
9-
@import "../../../../node_modules/monaco-editor/min/vs/editor/editor.main.css";
6+
@import "maplibre-gl/dist/maplibre-gl.css";
7+
@import "@xyflow/react/dist/style.css";
8+
@import "monaco-editor/min/vs/editor/editor.main.css";
109

1110
/* Webview reset:
1211
* VS Code webviews default to a non-zero body margin and allow document scrolling.

0 commit comments

Comments
 (0)