mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-28 12:18:51 +03:00
Set max width for the filter badge
This commit is contained in:
parent
ce50b7a08c
commit
79d4330d89
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue