comparison client/src/components/ui/UITableBody.vue @ 2640:4bcb26542767

client: use new btn-xs class in tables
author Markus Kottlaender <markus@intevation.de>
date Thu, 14 Mar 2019 11:23:42 +0100
parents 9ae2a2f758bb
children 5bc657f60fd3
comparison
equal deleted inserted replaced
2639:0db742c7813d 2640:4bcb26542767
7 v-if="data.length" 7 v-if="data.length"
8 > 8 >
9 <div 9 <div
10 v-for="(item, index) in data" 10 v-for="(item, index) in data"
11 :key="key(index)" 11 :key="key(index)"
12 :class="['border-top row mx-0', { active: active === item }]" 12 :class="[
13 'border-top row mx-0 align-items-center',
14 { active: active === item }
15 ]"
13 > 16 >
14 <slot :item="item" :index="index"></slot> 17 <slot :item="item" :index="index"></slot>
15 </div> 18 </div>
16 </transition-group> 19 </transition-group>
17 <div v-else class="small text-center py-3 border-top"> 20 <div v-else class="small text-center py-3 border-top">