This patch updates the metadata table in the book details view, turning
it into a CSS grid layout. This fixes a few issues with the current
layout:
- Keys and values are not vertically aligned with the value being
displayed a little bit above the baseline of the key.
- There is no horizontal alignment of the table columns. In fact, it is
technically not a table despite the CSS being tuned to almost look
like one. Just turning this into a real grid looks cleaner.
- The code for making multi-line values not wrap is broken. This fixes
the problem.
This also renames “Publish Year” to “Published”. Mainly because it is
shorter.
When long chapter names are being used, it may easily happen that parts
of the name is cut off. If this part identifies the latest chapter name
or number, it may make chapters indistinguishable from one another. This
makes it near imposible to select a specific chapter if the book has
many chapters.
This patch addresses the issue by starting each item in the list of
chapters with an index number.
This fixes#479