Repository navigation
v0.4.1: grid and no-hanging fixes
Upgrade notes
- Page boundaries may change. No-hanging elements, such as headings
and field labels, now stay with the content they introduce in more
cases, so some page starts move. An image in a grid row may be reduced
a little to stay under its label. - New console warnings. A warning appears when a grid row is reduced
by more than 20% to stay under a no-hanging row, or when a no-hanging
row stays alone because the row after it cannot be reduced (#221).
Fixes
These fixes make the StrictDoc "simple" requirement view print
correctly (strictdoc-project/strictdoc#2170).
Grids
- Parts of a split grid no longer show scrollbars. With
overflow: auto
on the grid, a part could get scrollbars, move to the next page and
print them as grey bars (#219). - A no-hanging grid row, such as a field label, moves to the next page
together with the row it introduces (#220). - This also works when that row starts with an image or another block
that cannot be split. If the block does not fit under its label, it
is reduced by up to 20% (#221). - A chain of no-hanging grid rows that fills a page breaks above its
last row, so the last label stays with its field (#221). - Table and grid cells whose content has margins, such as a paragraph,
are reduced correctly when a row must fit a height (#221).
Page breaks
- A chain of no-hanging headings that starts a page and fills it now
breaks above its last heading, which moves to the next page with its
content (#222).
Internal
- Developer notes: setup, build, tests and the release process (#218).