From 76f8a0223b1759022a2c2d4e115e6b385548d2aa Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 24 Jan 2024 00:55:55 +0100 Subject: replace table-cell base hlist with inline-block so firefox' layout engine get freaked out --- web/style/layout.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'web') diff --git a/web/style/layout.css b/web/style/layout.css index 7fcfee1..46fecde 100644 --- a/web/style/layout.css +++ b/web/style/layout.css @@ -111,14 +111,14 @@ summary h3 { } .hlist { - overflow-x: scroll; + overflow-x: auto; max-width: 100%; + white-space: nowrap; } -.hlist ul { - display: table; -} -.hlist ul li { - display: table-cell; +.hlist li { + display: inline-block; + vertical-align: top; + white-space: normal; } @media (max-width: 750px) { -- cgit v1.2.3-70-g09d2