diff --git a/resolution/plugin.js b/resolution/plugin.js index 4307819..1ebe001 100644 --- a/resolution/plugin.js +++ b/resolution/plugin.js @@ -1,6 +1,8 @@ import Inspire from "@inspirejs/core"; import { $$ } from "@inspirejs/core/util"; +export const hasCSS = true; + $$("[data-resolution]").forEach(element => { let [width, height] = element.closest("[data-resolution]").dataset.resolution.split(/\s+/); element.style.setProperty("--v-width", width);