From dd49f030de72dfeb792007d87f0cd38a38ab3dca Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 21 Sep 2025 11:05:12 -0300 Subject: css: use width: max-content & max-width for content tooltips Same as just about any other tooltip. Not sure why this isn't the way we went at outset. --- src/static/css/site.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/static/css/site.css') diff --git a/src/static/css/site.css b/src/static/css/site.css index d2bd6bd9..ca1ab034 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -1503,13 +1503,15 @@ li:not(:first-child:last-child) .tooltip:where(:not(.cover-artwork .tooltip)), .content-tooltip .tooltip-content { padding: 3px 4.5px; - width: 240px; + width: max-content; + max-width: 240px; } .cover-artwork .content-tooltip { font-size: 0.85rem; padding: 2px 3px; - width: 220px; + width: max-content; + max-width: 220px; } .external-icon { -- cgit 1.3.0-6-gf8a5