Fixed alignment
parent
9aa17fd097
commit
5b608615bf
|
@ -5,7 +5,7 @@
|
|||
<div class="card">
|
||||
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem">
|
||||
<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" />
|
||||
<div class="flex-1 flex flex-col gap-1">
|
||||
<span class="font-medium">{{ item.name }}</span>
|
||||
|
@ -33,7 +33,7 @@ export default {
|
|||
basic: `
|
||||
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem>
|
||||
<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" />
|
||||
<div class="flex-1 flex flex-col gap-1">
|
||||
<span class="font-medium">{{ item.name }}</span>
|
||||
|
@ -52,7 +52,7 @@ export default {
|
|||
<div class="card">
|
||||
<PickList v-model="products" dataKey="id" breakpoint="1400px" scrollHeight="20rem>
|
||||
<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" />
|
||||
<div class="flex-1 flex flex-col gap-1">
|
||||
<span class="font-medium">{{ item.name }}</span>
|
||||
|
|
Loading…
Reference in New Issue