BaseView.less 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @import '~antd/es/style/themes/default.less';
  2. .baseView {
  3. display: flex;
  4. height: calc(100vh - 48px - 48px - 32px - 16px - 62px);
  5. overflow-y: auto;
  6. :global {
  7. .ant-legacy-form-item .ant-legacy-form-item-control-wrapper {
  8. width: 100%;
  9. }
  10. }
  11. .left {
  12. flex: 2;
  13. }
  14. .right {
  15. flex: 1;
  16. padding-left: 104px;
  17. .avatar_title {
  18. height: 22px;
  19. margin-bottom: 8px;
  20. color: @heading-color;
  21. font-size: @font-size-base;
  22. line-height: 22px;
  23. }
  24. .avatar {
  25. width: 144px;
  26. height: 144px;
  27. margin-bottom: 12px;
  28. overflow: hidden;
  29. img {
  30. width: 100%;
  31. }
  32. }
  33. .button_view {
  34. width: 144px;
  35. text-align: center;
  36. }
  37. }
  38. }
  39. .area_code {
  40. width: 72px;
  41. }
  42. .phone_number {
  43. width: 214px;
  44. }
  45. @media screen and (max-width: @screen-xl) {
  46. .baseView {
  47. flex-direction: column-reverse;
  48. .right {
  49. display: flex;
  50. flex-direction: column;
  51. align-items: center;
  52. max-width: 448px;
  53. padding: 20px;
  54. .avatar_title {
  55. display: none;
  56. }
  57. }
  58. }
  59. }