Repository navigation
flograph 0.1.22
Install with pip install flograph==0.1.22.
A follow-up to 0.1.21's report pages: tables in a report's web page are
compact under every theme, and a table with no width set uses the page's
width.
Highlights
Tables stay compact under every theme
A report's tables were compact with no CSS and ballooned under a theme: each
cell's value is a paragraph, so the theme's paragraph spacing and line
height reached every row. Under Aurora, a plain table's rows grew from 21px
to 36px. All nine starter themes now keep paragraph spacing out of table
cells and trim cell padding, so rows come out about the size they are with
no CSS. A width=100% live table no longer sticks out past the page's edge
under Dashboard, Midnight or Aurora, and a chart drawn as a picture is no
longer held to Compact's or Ledger's reading width.
A page keeps the copy of the theme it was given, so pick the theme again
under the CSS tab's Starter theme to take the new look.
A table without a width uses the web page's width
A table embedded with no width= was written at the paper's column width,
510 points, which a browser reads as 510 pixels. On a wide window it stopped
there and wrapped its text early. On the web page it is now as wide as its
columns and grows to the page's full width, wrapping long text at the page's
edge. On paper it still spans the text column, and width=90% and
width=280 are unchanged.
See the full changelog.