Fixed #121 - DataView Grid should have nogutter

pull/132/head
cagataycivici 2019-12-23 11:43:01 +03:00
parent 891009b160
commit e64b9704ec
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
</template> </template>
</DVPaginator> </DVPaginator>
<div class="p-dataview-content"> <div class="p-dataview-content">
<div class="p-grid"> <div class="p-grid p-nogutter">
<template v-for="(item,index) of items"> <template v-for="(item,index) of items">
<slot v-if="$scopedSlots.list && layout === 'list'" name="list" :data="item" :index="index"></slot> <slot v-if="$scopedSlots.list && layout === 'list'" name="list" :data="item" :index="index"></slot>
<slot v-if="$scopedSlots.grid && layout === 'grid'" name="grid" :data="item" :index="index"></slot> <slot v-if="$scopedSlots.grid && layout === 'grid'" name="grid" :data="item" :index="index"></slot>