Got rid of scene content
This commit is contained in:
parent
fdc6993f81
commit
c8dcd0334c
10
src/vn.rs
10
src/vn.rs
@ -46,9 +46,7 @@ fn generate_html(scenes: Vec<Markup>, sections: Vec<Markup>) -> Markup {
|
|||||||
article .scene-section
|
article .scene-section
|
||||||
data-section-index=(index)
|
data-section-index=(index)
|
||||||
style=(format!("display: {};", if index == 0 { "block" } else { "none" })) {
|
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;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.scene-content {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.scene-section img {
|
.scene-section img {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user