refactor: refs #7361 ticket/summary like salix #368
src/pages/Ticket/Card
|
@ -374,18 +374,17 @@ async function changeState(value) {
|
|||
<QTd>{{ props.row.available }}</QTd>
|
||||
<QTd>{{ props.row.quantity }}</QTd>
|
||||
<QTd class="description-cell">
|
||||
jon marked this conversation as resolved
alexm
commented
Review
```
<QTd class="description-cell">
<div class="row full-width justify-between">
{{ props.row.item.name }}
<div v-if="props.row.item.subName" class="subName">
{{ props.row.item.subName.toUpperCase() }}
</div>
</div>
<FetchedTags
:item="props.row.item"
:max-length="6"
class="fetched-tags"
/>
</QTd>
```
|
||||
<span>
|
||||
<div class="row full-width justify-between">
|
||||
jon marked this conversation as resolved
Outdated
alexm
commented
Creo que igual fusionando las dos columnas en una y la parte de fetched-tags(Cambialo por CamelCase) y la del subname las pones en un div con flex row igual se alinea mejor Creo que igual fusionando las dos columnas en una y la parte de fetched-tags(Cambialo por CamelCase) y la del subname las pones en un div con flex row igual se alinea mejor
|
||||
{{ 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%;
|
||||
jon marked this conversation as resolved
Outdated
alexm
commented
.description-cell { .description-cell {
width: 25%;
}
.fetched-tags {
max-width: 70%;
}
|
||||
}
|
||||
.fetched-tags {
|
||||
jon marked this conversation as resolved
Outdated
alexm
commented
Poner márgenes negativos lo veo raro Poner márgenes negativos lo veo raro
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-left: 10%;
|
||||
max-width: 70%;
|
||||
}
|
||||
.fetched-tags > * {
|
||||
alexm
commented
Esta creo que ya no hace falta, aparte calc(100% / 2) es lo mismo que poner 50% Esta creo que ya no hace falta, aparte calc(100% / 2) es lo mismo que poner 50%
|
||||
max-width: calc(100% / 2);
|
||||
|
|
Loading…
Reference in New Issue