From c839cb41730e8130b4282ac121d3daf7af08a5e6 Mon Sep 17 00:00:00 2001 From: citrons Date: Mon, 16 Jun 2025 21:25:14 -0500 Subject: limit display width of tags --- apioforum/static/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apioforum/static/style.css b/apioforum/static/style.css index e909a54..f96c494 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -358,10 +358,14 @@ fieldset { margin-bottom: 15px; } } .tag { + display: inline-block; font-size: .75rem; padding: 1px 3px; border: 1px solid var(--dark-colour); white-space: nowrap; + max-width: 10ch; + overflow: hidden; + text-overflow: ellipsis; } .tag-editor { margin-left: 20px; display: inline-block; } -- cgit v1.2.3