mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
Fixed columns when translation is too long. (#10315)
This commit is contained in:
parent
f8739b6f37
commit
5231cb03a8
1 changed files with 12 additions and 11 deletions
|
|
@ -6,10 +6,9 @@
|
|||
:withPin="true",
|
||||
@change="resetItemToBuy($event)"
|
||||
v-if='type === "reward"')
|
||||
.d-flex
|
||||
h2.tasks-column-title
|
||||
| {{ $t(typeLabel) }}
|
||||
.badge.badge-pill.badge-purple.column-badge(v-if="badgeCount > 0") {{ badgeCount }}
|
||||
.d-flex.align-items-center
|
||||
h2.column-title {{ $t(typeLabel) }}
|
||||
.badge.badge-pill.badge-purple.column-badge.mx-1(v-if="badgeCount > 0") {{ badgeCount }}
|
||||
.filters.d-flex.justify-content-end
|
||||
.filter.small-text(
|
||||
v-for="filter in typeFilters",
|
||||
|
|
@ -160,21 +159,22 @@
|
|||
|
||||
.quick-add-tip-slide-enter, .quick-add-tip-slide-leave-to {
|
||||
max-height: 0;
|
||||
padding: 0px 16px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.tasks-column-title {
|
||||
margin-bottom: 8px;
|
||||
position: relative;
|
||||
.column-title {
|
||||
margin-bottom: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.column-badge {
|
||||
top: -5px;
|
||||
right: -24px;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.filters {
|
||||
flex-grow: 1;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.filter {
|
||||
|
|
@ -183,6 +183,7 @@
|
|||
font-style: normal;
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
|
||||
&:hover {
|
||||
color: $purple-200;
|
||||
|
|
|
|||
Loading…
Reference in a new issue