File tree 1 file changed +26
-25
lines changed
packages/main/src/themes/base
1 file changed +26
-25
lines changed Original file line number Diff line number Diff line change 12
12
13
13
:host (ui5- label) {
14
14
display : inline-block ;
15
- cursor : text ;
16
15
max-width : 100% ;
16
+ cursor : text ;
17
+ }
17
18
18
- & span [data- sap- ui- wc- root] {
19
- display : flex ;
20
- }
19
+ :host (ui5- label) span [data- sap- ui- wc- root] {
20
+ display : flex ;
21
21
}
22
22
23
23
ui5- label {
24
24
display : inline-block ;
25
- cursor : text ;
26
25
max-width : 100% ;
26
+ overflow : hidden ;
27
+ cursor : text ;
28
+ }
27
29
28
- & span [data- sap- ui- wc- root] {
29
- display : flex ;
30
- }
30
+ ui5- label span [data- sap- ui- wc- root] {
31
+ display : flex ;
31
32
}
32
33
33
34
.sapMLabel {
34
35
display : inline-block ;
35
- text-overflow : ellipsis ;
36
+ width : 100 % ;
36
37
color : @sapUiContentLabelColor ;
37
38
font-family : @sapUiFontFamily ;
38
39
font-size : @sapMFontMediumSize ;
39
40
font-weight : normal ;
41
+ text-overflow : ellipsis ;
40
42
overflow : hidden ;
41
- width : 100% ;
42
43
white-space : nowrap ;
43
44
cursor : inherit ;
45
+ }
44
46
45
- & .sapMLabelWrapped {
46
- white-space : normal ;
47
- line-height : 1.4rem ;
48
- }
49
-
50
- & .sapMLabelRequired :before {
51
- content :" *" ;
52
- color : @sapUiFieldRequiredColor ;
53
- font-size : 1.25rem ;
54
- font-weight : bold ;
55
- position : relative ;
56
- height : 100% ;
57
- display : inline-flex ;
58
- align-items : flex-start ;
59
- }
47
+ .sapMLabel.sapMLabelWrapped {
48
+ white-space : normal ;
49
+ line-height : 1.4rem ;
60
50
}
51
+
52
+ .sapMLabel.sapMLabelRequired :before {
53
+ position : relative ;
54
+ height : 100% ;
55
+ display : inline-flex ;
56
+ align-items : flex-start ;
57
+ content :" *" ;
58
+ color : @sapUiFieldRequiredColor ;
59
+ font-size : 1.25rem ;
60
+ font-weight : bold ;
61
+ }
You can’t perform that action at this time.
0 commit comments