From c8dcd0334c01b4a7e1929d2cd615a1e170f7c817 Mon Sep 17 00:00:00 2001 From: p11 Date: Mon, 21 Apr 2025 10:32:54 +0200 Subject: [PATCH] Got rid of scene content --- src/vn.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/vn.rs b/src/vn.rs index d10a961..90f845c 100644 --- a/src/vn.rs +++ b/src/vn.rs @@ -46,9 +46,7 @@ fn generate_html(scenes: Vec, sections: Vec) -> Markup { article .scene-section data-section-index=(index) style=(format!("display: {};", if index == 0 { "block" } else { "none" })) { - div .scene-content { - (scene) - } + (scene) } } @@ -143,12 +141,6 @@ fn global_styles() -> Markup { align-items: center; justify-content: center; } - .scene-content { - width: 100%; - height: 100%; - position: relative; - overflow: hidden; - } .scene-section img { height: 100%; width: auto;