From fb1ff294cfa59bac485fed99da9d6469bb40ff14 Mon Sep 17 00:00:00 2001 From: Jeff Riley Date: Mon, 9 Mar 2026 20:47:31 +1100 Subject: [PATCH] Modified docs css file to left-align tables --- online-docs/_static/css/COMPAS.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/online-docs/_static/css/COMPAS.css b/online-docs/_static/css/COMPAS.css index 5ee3565a3..14da7f34d 100644 --- a/online-docs/_static/css/COMPAS.css +++ b/online-docs/_static/css/COMPAS.css @@ -22,7 +22,7 @@ vertical-align: text-top !important; } -/* This takes puts borders on tables with class 'bordered' - at least it does for list-table, but doesn't seem to work for flat-table */ +/* This puts borders on tables with class 'bordered' - at least it does for list-table, but doesn't seem to work for flat-table */ .rst-content table.docutils.bordered, .wy-table-bordered-all.bordered, .bordered table, .bordered thead, .bordered tbody, .bordered tr, .bordered td, .bordered th { border-width: 1px !important; border-style: solid !important; @@ -30,6 +30,11 @@ padding: 5px !important; } +/* left align tables (default seems to be centred) */ +table { + float: left; +} + .boldtext { font-weight: bold !important; }