0
0
Fork 0

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