Skip to content

Commit bd64627

Browse files
committed
Remove vertical margins in scroll view
Re #55
1 parent 58b6590 commit bd64627

7 files changed

Lines changed: 3 additions & 42 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Readium CSS provides styles for reflowable text:
1515
- media overlays and user highlights;
1616
- a set of baselines and recommendations for accessibility, overrides, and internationalization.
1717

18-
**Readium CSS is currently in alpha** (version `1.0.0-alpha.1`).
18+
**Readium CSS is currently in alpha** (version `1.0.0-alpha.2`).
1919

2020
## License
2121

css/demo/css/ReadiumCSS-after.css

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/dist/ReadiumCSS-after.css

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/dist/cjk-horizontal/ReadiumCSS-after.css

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/dist/rtl/ReadiumCSS-after.css

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/src/modules/ReadiumCSS-scroll.css

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,4 @@
2424
/* Make sure line-length is limited in all configs */
2525
:root:--scroll-view body {
2626
--RS__maxLineLength: 40rem !important;
27-
28-
margin-top: var(--RS__pageGutter) !important;
29-
margin-bottom: var(--RS__pageGutter) !important;
30-
}
31-
32-
/* Scroll mode horizontal */
33-
34-
/* Vertical writing needs body height set */
35-
36-
/* Do we add a top/bottom margin for body in vertical scroll or not? */
27+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "readium-css",
33
"description": "A set of reference stylesheets for EPUB Reading Systems",
4-
"version": "1.0.0-alpha.1",
4+
"version": "1.0.0-alpha.2",
55
"homepage": "https://github.com/readium/readium-css",
66
"license": "BSD-3-Clause",
77
"keywords": [

0 commit comments

Comments
 (0)