Main.scss 1.02 KB
.main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;

  .profile {
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;

    img {
      width: 180px;
      height: 180px;
      border-radius: 50%;
    }
  }

  .list {
    flex: 1;
    width: 100%;
    max-height: calc(100vh - 255px);
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;

    .followers {
      flex: 1;
      padding: 0.4rem;
    }
    .following {
      flex: 1;
      padding: 0.4rem;
    }

    .item {
      padding-left: 0.3rem;
      margin: 0.25rem 0;
      border-radius: 0.16rem;
      height: 1.8rem;
      display: flex;
      justify-content: center;
      align-items: center;

      &.item-0 {
        background-color: #efefef;
      }
    }
  }

  .title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0.5rem 0;
  }
}