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;