TypedAvatar.vue colored background

This commit is contained in:
Peter Papp
2021-08-31 09:52:22 +02:00
parent ac62a432fe
commit f44e262d6e
26 changed files with 115 additions and 524 deletions
@@ -23,10 +23,12 @@
.action-button {
cursor: pointer;
display: flex;
align-items: center;
.edit-icon {
display: inline-block;
margin-left: 3px;
margin-left: 7px;
}
}
@@ -45,14 +45,13 @@
#toastr-wrapper {
position: absolute;
right: 30px;
top: 30px;
bottom: 30px;
z-index: 90;
}
@media only screen and (max-width: 690px) {
#toastr-wrapper {
top: initial;
right: 15px;
left: 15px;
bottom: 15px;
@@ -1,5 +1,5 @@
<template>
<div class="typed-avatar" :style="{width: size + 'px', height: size + 'px'}">
<div class="typed-avatar" :style="{width: size + 'px', height: size + 'px', background: color ? color : '#f4f5f6'}">
<span class="letter">{{ letter }}</span>
</div>
</template>
@@ -9,6 +9,7 @@ export default {
name: "TypedAvatar",
props: [
'letter',
'color',
'size',
]
}