From 2b137fb228bb4cf979a2c63f863c4020ae399d43 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 23 May 2023 01:36:41 +0200 Subject: [PATCH] perl: grid columns only on sectioned dls Keep original behaviour on sc and keyboard legends. --- base.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base.css b/base.css index 46f6e35..a2a7d16 100644 --- a/base.css +++ b/base.css @@ -132,17 +132,17 @@ h2 small { padding-top: .17ex; } -dl { +.section dl { display: grid; grid: auto-flow / 1fr 1fr; clear: both; } @media (max-width: 42em) { - dl { + .section dl { grid: auto-flow / minmax(8em, 1fr) minmax(20em, 1fr); } } -dl > dt { +.section dl > dt { grid-column: 1; text-align: right; } -- 2.30.0