Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed project-specific css not being applied #389

Merged
merged 2 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ E.g., if it was used in a menu and the menu is red, the circle would be red.
### **WORK IN PROGRESS**
-->
## Changelog
### **WORK IN PROGRESS**
* (foxriver76) fixed project-specific css not being applied

### 2.9.35 (2024-02-27)
* (foxriver76) user-specified css has now priority over widgets css
* (foxriver76) fixed crash case for broken grouped widgets
Expand Down
2 changes: 1 addition & 1 deletion src/src/Vis/visEngine.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1980,7 +1980,7 @@ ${this.scripts}
readFile(this.props.socket, `${this.props.adapterName}.${this.props.instance}`, `${this.props.projectName}/vis-user.css`)
.then(file => {
this.visUserCssLoaded = file || true;
VisEngine.applyUserStyles('vis_user', file?.data || '');
VisEngine.applyUserStyles('vis_user', file || '');
})
.catch(e => console.warn(`User CSS "${this.props.projectName}/vis-user.css" not found: ${e}`));
}
Expand Down
Loading