File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export default {
100
100
[ item . labelClassName ] : true
101
101
} }
102
102
style = { item . labelStyle }
103
- > { item . props . label } </ span >
103
+ > { item . label } </ span >
104
104
< span
105
105
class = { [ 'el-descriptions-item__content' , item . contentClassName ] }
106
106
style = { item . contentStyle }
Original file line number Diff line number Diff line change 2
2
@import ' common/var' ;
3
3
4
4
@include b (descriptions- item) {
5
+ vertical-align : top ;
5
6
6
7
@include e (container) {
7
8
display : flex ;
9
+
10
+ .el-descriptions-item__label ,
11
+ .el-descriptions-item__content {
12
+ display : inline-flex ;
13
+ align-items : baseline ;
14
+ }
15
+ .el-descriptions-item__content {
16
+ flex : 1 ;
17
+ }
8
18
}
9
19
10
20
@include e (label ) {
20
30
color : $--color-text-secondary ;
21
31
background : $--descriptions-item-bordered-label-background ;
22
32
}
23
-
24
33
& :not (.is-bordered-label ) {
25
34
margin-right : 10px ;
26
35
}
27
36
}
28
37
29
38
@include e (content ) {
30
-
39
+ word-break : break-word ;
40
+ overflow-wrap : break-word ;
31
41
}
32
42
}
You can’t perform that action at this time.
0 commit comments