From da84e0fe6981691991b39df50360e070a9c939a0 Mon Sep 17 00:00:00 2001 From: p11 Date: Mon, 21 Apr 2025 10:41:37 +0200 Subject: [PATCH] Merged scene container into scene styles, got rid of container styles --- src/vn.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/vn.rs b/src/vn.rs index 2109e3e..7b746e8 100644 --- a/src/vn.rs +++ b/src/vn.rs @@ -114,7 +114,7 @@ fn global_styles() -> Markup { transform: scale(0.95); }"; - const CONTAINER_STYLES: &str = r" + const SCENE_STYLES: &str = r" .scene-viewport { width: 75%; margin: 0 auto; @@ -122,9 +122,7 @@ fn global_styles() -> Markup { padding-top: 42.1875%; background: #f8f8f8; overflow: hidden; - }"; - - const SCENE_STYLES: &str = r" + } .scene-section { position: absolute; top: 0; @@ -250,8 +248,7 @@ fn global_styles() -> Markup { html! { style { (maud::PreEscaped( - [BASE_STYLES, NAVIGATION, CONTAINER_STYLES, SCENE_STYLES, - TEXTBOX_STYLES, CHARACTER_STYLES, CHOICE_STYLES] + [BASE_STYLES, NAVIGATION, SCENE_STYLES, TEXTBOX_STYLES, CHARACTER_STYLES, CHOICE_STYLES] .join("") )) }