From 79d4330d89acafd1761c378da9c39aa9fd7ab467 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 20 Aug 2024 22:40:20 +0800 Subject: [PATCH] Set max width for the filter badge --- src/components/status.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/status.css b/src/components/status.css index 4b13762b..226aaafd 100644 --- a/src/components/status.css +++ b/src/components/status.css @@ -598,6 +598,7 @@ position: relative; top: calc((9px + 2px) / 2 * -1); min-width: 50px; + max-width: 100px; text-align: center; } .status-filtered-badge.clickable:hover { @@ -607,6 +608,8 @@ background: var(--bg-color); } .status-filtered-badge:not(.horizontal).badge-meta > span:first-child { + overflow: hidden; + text-overflow: ellipsis; white-space: nowrap; } .status-filtered-badge:not(.horizontal).badge-meta > span + span {