Renamed textbox container to scene viewport
This commit is contained in:
parent
a07cbe38a4
commit
a44feb9cdc
@ -41,7 +41,7 @@ fn generate_html(scenes: Vec<Markup>, sections: Vec<Markup>) -> Markup {
|
|||||||
|
|
||||||
html! {
|
html! {
|
||||||
div #story-container {
|
div #story-container {
|
||||||
div .textbox-container {
|
div .scene-viewport {
|
||||||
@for (index, scene) in scenes.iter().enumerate() {
|
@for (index, scene) in scenes.iter().enumerate() {
|
||||||
div .scene-section
|
div .scene-section
|
||||||
data-section-index=(index)
|
data-section-index=(index)
|
||||||
@ -121,7 +121,7 @@ fn global_styles() -> Markup {
|
|||||||
}";
|
}";
|
||||||
|
|
||||||
const CONTAINER_STYLES: &str = r"
|
const CONTAINER_STYLES: &str = r"
|
||||||
.textbox-container {
|
.scene-viewport {
|
||||||
width: 75%;
|
width: 75%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user