fix: refs #6553 fix PR, fix vnTableCard

This commit is contained in:
Carlos Satorres 2025-01-23 10:25:07 +01:00
parent 7144bb3871
commit c8fe115fec
1 changed files with 11 additions and 10 deletions

View File

@ -490,7 +490,7 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) {
<QCard <QCard
bordered bordered
flat flat
class="row no-wrap justify-between cursor-pointer" class="row no-wrap justify-between cursor-pointer q-pa-lg"
@click=" @click="
(_, row) => { (_, row) => {
$props.rowClick && $props.rowClick(row); $props.rowClick && $props.rowClick(row);
@ -531,10 +531,7 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) {
</span> </span>
</QCardSection> </QCardSection>
<!-- Fields --> <!-- Fields -->
<QCardSection <QCardSection :class="$props.cardClass">
class="q-pl-sm q-pr-lg q-py-xs"
:class="$props.cardClass"
>
<div <div
v-for="( v-for="(
col, index col, index
@ -796,14 +793,18 @@ es:
.grid-two { .grid-two {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, max-content)); // max-width: 100%;
max-width: 100%; // width: 544px;
width: 600px; // margin: auto;
margin: 1em auto; grid-template-columns: 2fr 1fr;
white-space: wrap;
.vn-label-value { .vn-label-value {
flex-direction: column; flex-direction: column;
white-space: nowrap;
.fields {
display: flex;
}
} }
white-space: nowrap;
} }
.w-80 { .w-80 {