From 9ec2c438a39542ec485e221d485c43b04d692aca Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 23 Jul 2026 23:28:15 +0200 Subject: tui: fix width-wrap garbling + straight-aligned verse column (export render.Wrap, hanging indent); strip niedziela summary subtitle (tui/cli/web); web verse grid alignment; refrain-italic pl-only --- internal/web/static/base.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'internal/web/static/base.css') diff --git a/internal/web/static/base.css b/internal/web/static/base.css index 4e942d5..b5ce9a5 100644 --- a/internal/web/static/base.css +++ b/internal/web/static/base.css @@ -154,6 +154,26 @@ body.mono { font-style: italic; } +/* Verse block: a fixed number column + a text column, so every verse's text + starts at the same left edge (a straight margin) and continuation lines + hang-indent under it -- matching the CLI/TUI reader. */ +.block.verse { + display: grid; + grid-template-columns: 3rem 1fr; + column-gap: 0.4rem; + align-items: baseline; +} + +.block.verse .vnum { + min-width: 0; + margin-right: 0; + text-align: right; +} + +.block.verse .vtext { + min-width: 0; +} + .vnum { display: inline-block; min-width: 2.5em; -- cgit v1.3