Paginator: prevent spread in portrait

Or, for vertical writing, in landscape
This commit is contained in:
John Factotum
2024-04-27 16:14:36 +08:00
parent 28a757e5bb
commit b7ff640943
2 changed files with 43 additions and 25 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ The layout can be configured by setting the following attributes:
- `gap`: a CSS `<percentage>`. The size of the space between columns, relative to page size.
- `max-inline-size`: a CSS `<length>`. The unit must be `px`. The maximum inline size of the text (column width in paginated mode).
- `max-block-size`: same as above, but for the size in the block direction.
- `max-column-count`: integer. The maximum number of columns. Has no effect in scrolled mode.
- `max-column-count`: integer. The maximum number of columns. Has no effect in scrolled mode, or when the orientation of the renderer element is `portrait` (or, for vertical writing, `landscape`).
(Note: there's no JS property API. You must use `.setAttribute()`.)