Исправлена верстка таблицы
This commit is contained in:
16
src/pages/clients/components/cells/TableCellBodyName.vue
Normal file
16
src/pages/clients/components/cells/TableCellBodyName.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template lang="pug">
|
||||
.flex.box-border.px-4.items-center.gap-x-3.w-full(:style="{ minWidth : width + 'px' }")
|
||||
img(v-if="imgUrl" :src="imgUrl" alt="Avatar")
|
||||
span.text-sm.font-semibold {{value}}
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "TableCellBodyName",
|
||||
props: {
|
||||
value: String,
|
||||
width: Number,
|
||||
imgUrl: String,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user