Commit 27511709 authored by julientaq's avatar julientaq
Browse files

right page fix

parent 282fc6a5
......@@ -50,7 +50,7 @@ $ npm install
```
## Development
Run the local dev-server with livereload and autocompile on [http://localhost:8080/](http://localhost:8080/)
Run the local dev-server with livereload and autocompile on [http://localhost:9090/](http://localhost:9090/)
```sh
$ npm start
```
......
......@@ -51,7 +51,7 @@ class Page {
page.classList.add("first_page");
}
if (pgnum % 2 !== 0) {
if (pgnum % 2 !== 1) {
page.classList.add("right_page");
} else {
page.classList.add("left_page");
......
......@@ -8,6 +8,10 @@ export default `
--margin-left: 1in;
}
.first_page {
margin-left: 50%;
}
.page {
box-sizing: border-box;
width: var(--width);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment