aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-08-21 11:30:21 +0200
committerAlbert Krewinkel <[email protected]>2022-08-22 15:32:39 +0200
commit16d134218b6ee545363573a6671297523dc6a6f7 (patch)
tree92d6562c63625f48ebc9b692bdd673b3c3299448 /data
parent08f1f4551cea2b1af660b35ce3ddf39dd4ed416c (diff)
HTML writer: revert to using `width` property for column widths
The default `flex` and `overflow-x` properties of a column are set to `auto`. In combination, these changes allow to get good results when using columns with or without explicit widths.
Diffstat (limited to 'data')
-rw-r--r--data/templates/styles.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html
index 15f34bf56..776d6a872 100644
--- a/data/templates/styles.html
+++ b/data/templates/styles.html
@@ -164,7 +164,7 @@ $endif$
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
-div.column{flex: 1;}
+div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {