Got rid of scene content
This commit is contained in:
parent
fdc6993f81
commit
c8dcd0334c
@ -46,11 +46,9 @@ fn generate_html(scenes: Vec<Markup>, sections: Vec<Markup>) -> Markup {
|
||||
article .scene-section
|
||||
data-section-index=(index)
|
||||
style=(format!("display: {};", if index == 0 { "block" } else { "none" })) {
|
||||
div .scene-content {
|
||||
(scene)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@for (index, section) in sections.into_iter().enumerate() {
|
||||
section .text-section
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user