Skip to content

Enable scroll padding left and right#195

Merged
JayPanoz merged 4 commits intodevelopfrom
readiumcss-update
Feb 24, 2026
Merged

Enable scroll padding left and right#195
JayPanoz merged 4 commits intodevelopfrom
readiumcss-update

Conversation

@JayPanoz
Copy link
Contributor

@JayPanoz JayPanoz commented Feb 19, 2026

Following resolution in ReadiumCSS, pageGutter only applies in pagination, scrollPaddingLeft and scrollPaddingRight in scroll. LineLength helper now has to take padding directly since scroll can have different values, unlike pageGutter.

Since Fonts are no longer distributed through ReadiumCSS, the build has also been simplified as we do not need to copy these fonts in Navigator’s package any longer.

Will be in draft until Readium CSS version 2.0.0 (stable) is released so that we do not have to do a subsequent update.

Following resolution in ReadiumCSS, pageGutter only applies in pagination, scrollLeft and scrollRight in scroll. LineLength helper has to take padding directly since scroll can have different values, unlike pageGutter.
@JayPanoz JayPanoz mentioned this pull request Feb 24, 2026
@JayPanoz JayPanoz marked this pull request as ready for review February 24, 2026 15:26
@JayPanoz JayPanoz added this pull request to the merge queue Feb 24, 2026
Merged via the queue into develop with commit 0fc0363 Feb 24, 2026
@JayPanoz JayPanoz deleted the readiumcss-update branch February 24, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant