mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Fixed columns when translation is too long. (#10315)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user