Skip to content

Commit 49369ed

Browse files
committed
Only apply pageGutter in columns
1 parent 0a8f564 commit 49369ed

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

css/src/modules/ReadiumCSS-pagination-vertical.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ body {
9494
Drawback: we have to use border-box so that it doesn’t screw the box model,
9595
which means it impacts colWidth and max-width */
9696
box-sizing: border-box;
97+
}
98+
99+
:root:not(:--scroll-view) body {
97100
padding: var(--RS__pageGutter) 0 !important;
98101
}
99102

css/src/modules/ReadiumCSS-pagination.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ body {
8080
Drawback: we have to use border-box so that it doesn’t screw the box model,
8181
which means it impacts colWidth and max-width */
8282
box-sizing: border-box;
83+
}
84+
85+
:root:not(:--scroll-view) body {
8386
padding: 0 var(--RS__pageGutter) !important;
8487
}
8588

0 commit comments

Comments
 (0)