Skip to content

Commit 42e188f

Browse files
committed
fix: ensure correct styles are excluded from scoping
For some reason the styles.css file wasn't excluded from scoping. This should ensure it is.
1 parent cea273c commit 42e188f

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

js/postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = (ctx) => {
88
}),
99
];
1010
// There are styles that should be global in styles.css, so we skip it
11-
if (!ctx.file.endsWith("ipyvuetify/js/lib/styles.css")) {
11+
if (!ctx.file.endsWith("ipyvuetify-styles.css")) {
1212
plugins.push(
1313
scopify({
1414
scope: ":where(.vuetify-styles)",

js/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import "typeface-roboto";
22
import "material-design-icons-iconfont/dist/material-design-icons.css";
33
import "@mdi/font/css/materialdesignicons.css";
4-
import "./styles.css";
4+
import "./ipyvuetify-styles.css";
55
import * as Vue from "vue";
66
import * as Vuetify from "vuetify";
77

js/src/nodepsEmbed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import "./styles.css";
1+
import "./ipyvuetify-styles.css";
22

33
export { VuetifyView } from "./VuetifyView";
44
export * from "./Widgets";

0 commit comments

Comments
 (0)