Files
web/app/components/dashboard/AvatarBox.vue
2026-05-05 11:06:49 +07:00

29 lines
622 B
Vue

<template>
<div
class="fs-13 font-semibold mx-0 px-0 is-flex is-justify-content-center is-align-items-center is-flex-shrink-0 rounded-full size-10"
style="border: 1px solid var(--bulma-grey-80)"
:style="image && 'border: none'"
>
<div>
<span>{{ text }}</span>
</div>
</div>
</template>
<script>
export default {
props: ["text", "image", "type", "size"],
};
</script>
<style>
.cbox {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--grey-100);
border: 1px solid hsl(0, 0%, 85%);
border-radius: 50%;
}
</style>