refactor: refs #7361 requested changes

This commit is contained in:
Jon Elias 2024-05-15 14:35:08 +02:00
parent 146ced2ea2
commit ccaf993841
1 changed files with 11 additions and 14 deletions

View File

@ -374,18 +374,17 @@ async function changeState(value) {
<QTd>{{ props.row.available }}</QTd>
<QTd>{{ props.row.quantity }}</QTd>
<QTd class="description-cell">
<span>
<div class="row full-width justify-between">
{{ props.row.item.name }}
</span>
<span v-if="props.row.item.subName" class="subName">
{{ props.row.item.subName.toUpperCase() }}
</span>
<div class="fetched-tags">
<FetchedTags
:item="props.row.item"
:max-length="5"
></FetchedTags>
<div v-if="props.row.item.subName" class="subName">
{{ props.row.item.subName.toUpperCase() }}
</div>
</div>
<FetchedTags
class="fetched-tags"
:item="props.row.item"
:max-length="5"
></FetchedTags>
</QTd>
<QTd>{{ props.row.price }} </QTd>
<QTd>{{ props.row.discount }} %</QTd>
@ -480,12 +479,10 @@ async function changeState(value) {
color: var(--vn-label-color);
}
.description-cell {
width: 30%;
width: 25%;
}
.fetched-tags {
display: flex;
flex-wrap: wrap;
margin-left: 10%;
max-width: 70%;
}
.fetched-tags > * {
max-width: calc(100% / 2);