Removed scene container

This commit is contained in:
p11 2025-04-21 10:23:50 +02:00
parent 2b9292a23c
commit a07cbe38a4

View File

@ -42,7 +42,6 @@ fn generate_html(scenes: Vec<Markup>, sections: Vec<Markup>) -> Markup {
html! {
div #story-container {
div .textbox-container {
div .scene-container {
@for (index, scene) in scenes.iter().enumerate() {
div .scene-section
data-section-index=(index)
@ -52,7 +51,6 @@ fn generate_html(scenes: Vec<Markup>, sections: Vec<Markup>) -> Markup {
}
}
}
}
div .textbox-content {
@for (index, section) in sections.into_iter().enumerate() {
@ -130,14 +128,6 @@ fn global_styles() -> Markup {
padding-top: 42.1875%;
background: #f8f8f8;
overflow: hidden;
}
.scene-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
}";
const SCENE_STYLES: &str = r"