Files
web/app/components/dashboard/AvatarBox.vue
2026-05-22 09:57:12 +07:00

28 lines
590 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-lighter)"
: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;
border: var(--bulma-grey-lighter);
border-radius: 50%;
}
</style>