BaseView.less 839 Bytes
Newer Older
1 2 3 4
@import '~antd/lib/style/themes/default.less';

.baseView {
  display: flex;
jim's avatar
jim committed
5
  margin-top: 12px;
6

7
  .left {
8 9
    max-width: 448px;
    min-width: 224px;
10 11 12 13 14 15
  }
  .right {
    flex: 1;
    padding-left: 104px;
    .avatar_title {
      height: 22px;
16 17
      font-size: @font-size-base;
      color: @heading-color;
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
      line-height: 22px;
      margin-bottom: 8px;
    }
    .avatar {
      width: 144px;
      height: 144px;
      margin-bottom: 12px;
      overflow: hidden;
      img {
        width: 100%;
      }
    }
    .button_view {
      width: 144px;
      text-align: center;
    }
  }
}
36 37 38 39 40 41 42 43 44 45 46 47 48 49

@media screen and (max-width: @screen-xl) {
  .baseView {
    flex-direction: column-reverse;

    .right {
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 448px;
    }
  }
}