From 4cb73a135b8ae18fa7a9eb5f34ee5bb853b8ad8f Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 31 Mar 2021 20:12:42 -0700 Subject: doc: style items better, without grid style. * genman.txr: Use an alternative solution for dl.items elemens which places short items to the left of their definining text, while allowing long items to overhang. --- genman.txr | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/genman.txr b/genman.txr index 81c7f2f6..a2161d68 100644 --- a/genman.txr +++ b/genman.txr @@ -178,17 +178,22 @@ This document was created by .disambiguations dl { margin-bottom: 2048px; } -dl.items { - display: grid; - grid-template-columns: max-content auto; +dl.items dd:-moz-only-whitespace::after { + content: "\00A0"; } -dl.items dt { - grid-column-start: 1; +dl.items dd:empty:after { + content: "\00A0"; } dl.items dd { - grid-column-start: 2; + overflow: auto; + min-width: calc(100% - 3em); + margin-left: 3em; margin-bottom: 1ex; } +dl.items dt { + float: left; + padding-right: 1ex; +}