File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11
11
cursor : text;
12
12
}
13
13
14
- : host ( : not ([ wrap ])) .ui5-label-root {
14
+ .ui5-label-root {
15
15
width : 100% ;
16
+ }
17
+
18
+ : host (: not ([wrap ])) .ui5-label-root {
16
19
font-weight : inherit;
17
20
display : inline-block;
18
21
white-space : nowrap;
19
22
cursor : inherit;
20
23
overflow : hidden;
21
24
}
22
25
23
- bdi {
24
- content : "" ;
26
+ bdi {
27
+ content : "" ;
25
28
padding-right : 0.15625rem ;
26
29
}
27
30
Original file line number Diff line number Diff line change @@ -71,8 +71,11 @@ <h2>Wrapping label</h2>
71
71
< ui5-label style ="width: 100px " id ="truncated-label-2 " show-colon required > Reprehenderit amet cillum tempor ex eu dolor adipisicing reprehenderit pariatur.</ ui5-label >
72
72
< ui5-label style ="width: 100px " id ="truncated-label-3 " show-colon required wrap > Reprehenderit amet cillum tempor ex eu dolor adipisicing reprehenderit pariatur.</ ui5-label >
73
73
74
+ < div >
75
+ < ui5-label style ="width: 500px; text-align: right; " id ="wrapping-label-4 " wrap > Must be right-aligned using `text-align: right` and wrap.</ ui5-label >
76
+ </ div >
74
77
</ section >
75
-
78
+
76
79
< h2 > Test show-colon not forcing truncation</ h2 >
77
80
< ui5-label id ="showColon-false "> Basic Label</ ui5-label >
78
81
< ui5-label show-colon id ="showColon-true "> Basic Label</ ui5-label >
You can’t perform that action at this time.
0 commit comments