@use "sass:meta";
.avatar {
  background: #F6F6F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  height: 50px;
  width: 50px;

  max-width: 100%;
  height: 0;
  padding-bottom: 100%;

  >img {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  &.xxsmall {
    height: 24px;
    width: 24px;
  }

  &.xsmall {
    height: 31px;
    width: 31px;
  }
  &.small {
    height: 44px;
    width: 44px;
  }
  &.large {
    height: 180px;
    width: 180px;
  }
  &.xlarge {
    height: 241px;
    width: 241px;
  }
}

@include meta.load-css("labelled");