Blame view

node_modules/element-ui/packages/theme-chalk/src/descriptions-item.scss 810 Bytes
7820380e   “wangming”   1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  @import 'mixins/mixins';
  @import 'common/var';
  
  @include b(descriptions-item) {
    vertical-align: top;
    
    @include e(container) {
      display: flex;
  
      .el-descriptions-item__label,
      .el-descriptions-item__content {
        display: inline-flex;
        align-items: baseline;
      }
      .el-descriptions-item__content {
        flex: 1;
      }
    }
  
    @include e(label) {
      &.has-colon {
        &::after {
          content: ':';
          position: relative;
          top: -0.5px;
        }
      }
      &.is-bordered-label {
        font-weight: bold;
        color: $--color-text-secondary;
        background: $--descriptions-item-bordered-label-background;
      }
      &:not(.is-bordered-label) {
        margin-right: 10px;
      }
    }
  
    @include e(content) {
      word-break: break-word;
      overflow-wrap: break-word;
    }
  }