From fac1d796a43c9418c0a5a249fe0eda208f184468 Mon Sep 17 00:00:00 2001 From: Dmitry Sharabin Date: Wed, 10 Jun 2026 21:45:53 +0200 Subject: [PATCH] Load the resolution plugin's stylesheet (hasCSS was missing) resolution/plugin.css sets the explicit slide box (width/height from --v-width/--v-height), box-sizing, and margin: auto letterboxing, but the plugin didn't export `hasCSS`, so the core loader skipped it. The deck still scaled to fit via the plugin's JS zoom, so it looked roughly right, but the exact resolution box was never applied. Export hasCSS = true. Co-Authored-By: Claude Opus 4.8 (1M context) --- resolution/plugin.js | 2 ++ 1 file changed, 2 insertions(+) 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);