Fixed columns when translation is too long. (#10315)

This commit is contained in:
Marvin Rabe
2018-05-04 23:10:02 +02:00
committed by Sabe Jones
parent f8739b6f37
commit 5231cb03a8

View File

@@ -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;