Set max width for the filter badge

This commit is contained in:
Lim Chee Aun 2024-08-20 22:40:20 +08:00
parent ce50b7a08c
commit 79d4330d89

View file

@ -598,6 +598,7 @@
position: relative; position: relative;
top: calc((9px + 2px) / 2 * -1); top: calc((9px + 2px) / 2 * -1);
min-width: 50px; min-width: 50px;
max-width: 100px;
text-align: center; text-align: center;
} }
.status-filtered-badge.clickable:hover { .status-filtered-badge.clickable:hover {
@ -607,6 +608,8 @@
background: var(--bg-color); background: var(--bg-color);
} }
.status-filtered-badge:not(.horizontal).badge-meta > span:first-child { .status-filtered-badge:not(.horizontal).badge-meta > span:first-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.status-filtered-badge:not(.horizontal).badge-meta > span + span { .status-filtered-badge:not(.horizontal).badge-meta > span + span {