Rounded avatars

master
David Benqué 3 years ago
parent e089b625f0
commit 0e66672b86

@ -1,5 +1,6 @@
@import (reference) "./tools.less"; @import (reference) "./tools.less";
@import (reference) "./colortheme-all.less"; @import (reference) "./colortheme-all.less";
@import (reference) "./variables.less";
.avatar_vars( .avatar_vars(
@width: 30px @width: 30px
) { ) {
@ -24,6 +25,7 @@
font-size: 16px; font-size: 16px;
display: flex; display: flex;
align-items: center; align-items: center;
border-radius: @variables_radius;
.cp-avatar-default, media-tag { .cp-avatar-default, media-tag {
display: inline-flex; display: inline-flex;
@ -32,6 +34,8 @@
height: @avatar-width; height: @avatar-width;
height: var(--avatar-width); height: var(--avatar-width);
border-radius: @variables_radius;
justify-content: center; justify-content: center;
align-items: center; align-items: center;

Loading…
Cancel
Save