@import "../common/index.less";

.ph-avatar {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  background-color: #fff;
  border-radius: 50%;

  &.is-pad {
    width: @r * 52px;
    height: @r * 52px;
  }

  img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    transform: translate(-50%, -50%);
  }
}
