Merged scene container into scene styles, got rid of container styles

This commit is contained in:
p11 2025-04-21 10:41:37 +02:00
parent 020a16be2b
commit da84e0fe69

View File

@ -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("")
))
}