Skip to content

Commit

Permalink
fix: 135 - Isolate CSS Styles (#191)
Browse files Browse the repository at this point in the history
* Remove CSS rules applied to HTML elements

* Set the viewer container to position: relative

* build the library

* Set Tailwind as dev dependency

* Fixed Lock File
  • Loading branch information
HoyosJuan authored Nov 29, 2023
1 parent 1c16724 commit 68c1d81
Show file tree
Hide file tree
Showing 54 changed files with 890 additions and 2,518 deletions.
150 changes: 114 additions & 36 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"packageManager": "yarn@3.2.1",
"scripts": {
"test": "jest",
"build": "node resources/cleaner.js && tsc && yarn build-examples && tailwindcss build -i src/ui/UIManager/top.css -o resources/styles.css",
"build-css": "tailwindcss build -i src/ui/UIManager/top.css -o src/index.css",
"build": "node resources/cleaner.js && tsc && yarn build-examples && npm run build-css",
"build-css": "tailwindcss build -i src/ui/UIManager/top.css -o resources/styles.css",
"build-examples": "rollup -c resources/rollup.config.mjs",
"publish-repo": "cpy package.json dist && cd dist && npm publish"
},
Expand All @@ -34,6 +34,7 @@
"node-fetch": "^3.3.2",
"prettier": "^2.3.1",
"rollup": "^3.2.3",
"tailwindcss": "^3.3.5",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
Expand All @@ -50,7 +51,6 @@
"openbim-clay": "0.0.5",
"postprocessing": "^6.31.0",
"stats.js": "^0.17.0",
"tailwindcss": "^3.3.2",
"three": "0.152.2",
"three-mesh-bvh": "0.6.0",
"top-tool-package-reader": "0.0.3",
Expand Down
371 changes: 127 additions & 244 deletions resources/openbim-components.js

Large diffs are not rendered by default.

Loading

0 comments on commit 68c1d81

Please sign in to comment.