Fixed alignment
parent
9aa17fd097
commit
5b608615bf
|
@ -5,7 +5,7 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem">
|
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem">
|
||||||
<template #item="{ item }">
|
<template #item="{ item }">
|
||||||
<div class="flex flex-wrap p-1 items-center gap-4">
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
||||||
<img class="w-12 shrink-0 rounded" :src="'https://primefaces.org/cdn/primevue/images/product/' + item.image" :alt="item.name" />
|
<img class="w-12 shrink-0 rounded" :src="'https://primefaces.org/cdn/primevue/images/product/' + item.image" :alt="item.name" />
|
||||||
<div class="flex-1 flex flex-col gap-1">
|
<div class="flex-1 flex flex-col gap-1">
|
||||||
<span class="font-medium">{{ item.name }}</span>
|
<span class="font-medium">{{ item.name }}</span>
|
||||||
|
@ -33,7 +33,7 @@ export default {
|
||||||
basic: `
|
basic: `
|
||||||
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem>
|
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem>
|
||||||
<template #item="{ item }">
|
<template #item="{ item }">
|
||||||
<div class="flex flex-wrap p-1 items-center gap-4">
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
||||||
<img class="w-12 shrink-0 rounded" :src="'https://primefaces.org/cdn/primevue/images/product/' + item.image" :alt="item.name" />
|
<img class="w-12 shrink-0 rounded" :src="'https://primefaces.org/cdn/primevue/images/product/' + item.image" :alt="item.name" />
|
||||||
<div class="flex-1 flex flex-col gap-1">
|
<div class="flex-1 flex flex-col gap-1">
|
||||||
<span class="font-medium">{{ item.name }}</span>
|
<span class="font-medium">{{ item.name }}</span>
|
||||||
|
@ -52,7 +52,7 @@ export default {
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem>
|
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem>
|
||||||
<template #item="{ item }">
|
<template #item="{ item }">
|
||||||
<div class="flex flex-wrap p-1 items-center gap-4">
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
||||||
<img class="w-12 shrink-0 rounded" :src="'https://primefaces.org/cdn/primevue/images/product/' + item.image" :alt="item.name" />
|
<img class="w-12 shrink-0 rounded" :src="'https://primefaces.org/cdn/primevue/images/product/' + item.image" :alt="item.name" />
|
||||||
<div class="flex-1 flex flex-col gap-1">
|
<div class="flex-1 flex flex-col gap-1">
|
||||||
<span class="font-medium">{{ item.name }}</span>
|
<span class="font-medium">{{ item.name }}</span>
|
||||||
|
|
Loading…
Reference in New Issue