@@ -41,9 +41,9 @@
|
|||||||
|
|
||||||
</transition>
|
</transition>
|
||||||
</div>
|
</div>
|
||||||
<ul class="labels" @click="openCard">
|
<div class="labels" @click="openCard">
|
||||||
<li v-for="label in card.labels" :key="label.id" :style="labelStyle(label)"><span>{{ label.title }}</span></li>
|
<div v-for="label in card.labels" :key="label.id" :style="labelStyle(label)"><span>{{ label.title }}</span></div>
|
||||||
</ul>
|
</div>
|
||||||
<div v-show="!compactMode" class="card-controls compact-item" @click="openCard">
|
<div v-show="!compactMode" class="card-controls compact-item" @click="openCard">
|
||||||
<card-badges :id="id" />
|
<card-badges :id="id" />
|
||||||
</div>
|
</div>
|
||||||
@@ -183,17 +183,35 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.labels {
|
.labels {
|
||||||
|
flex-grow: 1;
|
||||||
|
flex-shrink: 1;
|
||||||
|
min-width: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
margin-left: $card-padding;
|
margin-left: $card-padding;
|
||||||
margin-top: -5px;
|
margin-top: -5px;
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
li {
|
div {
|
||||||
float: left;
|
flex-basis: 5em;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-shrink: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
overflow: hidden;
|
||||||
padding: 1px 3px;
|
padding: 1px 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
|
|
||||||
|
span {
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-shrink: 1;
|
||||||
|
min-width: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user