Skip to content

Commit 393091c

Browse files
committed
Remove explicit CSS import for vis-timeline
The styles are already added to the DOM (which is not a good idea in terms of CSP support). With the newest vis release 8.x, the CSS files are no longer exported and thus cannot be added any longer. Nevertheless, the existing solution works fine for now.
1 parent bbdd5b9 commit 393091c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/javascript/vis.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// CSS
2-
3-
@import 'vis-timeline/dist/vis-timeline-graph2d';
4-
51
html[data-bs-theme="dark"] {
62
// Color overwrites for dark mode
73

0 commit comments

Comments
 (0)