diff --git a/customize.dist/src/less2/include/avatar.less b/customize.dist/src/less2/include/avatar.less index 8e9cfd8fa..e1b84cb5b 100644 --- a/customize.dist/src/less2/include/avatar.less +++ b/customize.dist/src/less2/include/avatar.less @@ -21,8 +21,13 @@ align-items: center; .cp-avatar-default, media-tag { display: inline-flex; + + width: @avatar-width; width: var(--avatar-width); + + height: @avatar-height; height: var(--avatar-width); + justify-content: center; align-items: center; border-radius: 4px; @@ -33,12 +38,20 @@ .tools_unselectable(); background: white; color: black; + font-size: @avatar-font-size; font-size: var(--avatar-font-size); } media-tag { + min-height: @avatar-width; min-height: var(--avatar-width); + + min-width: @avatar-width; min-width: var(--avatar-width); + + max-height: @avatar-width; max-height: var(--avatar-width); + + max-width: @avatar-width; max-width: var(--avatar-width); img { min-width: 100%;