salix/front/core/components/avatar/style.scss

33 lines
552 B
SCSS
Raw Permalink Normal View History

2023-05-03 09:57:13 +00:00
@import "variables";
vn-avatar {
display: block;
border-radius: 50%;
overflow: hidden;
2023-06-25 15:40:09 +00:00
height: 38px;
width: 38px;
2023-05-03 09:57:13 +00:00
font-size: 22px;
background-color: $color-main;
position: relative;
& > * {
width: 100%;
height: 100%;
}
& > .letter {
display: flex;
align-items: center;
justify-content: center;
}
& > .image {
position: absolute;
top: 0;
left: 0;
& > img {
width: 100%;
height: 100%;
}
}
}