File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 33
33
position : relative;
34
34
font-size : 0.75rem ;
35
35
font-weight : bold;
36
+ white-space : initial;
37
+ overflow : initial;
38
+ text-overflow : initial;
36
39
}
37
40
38
41
.ui5-shellbar-menu-button ,
Original file line number Diff line number Diff line change 17
17
bor der: 1px solid var(- - sapButto n_Bor derColor );
18
18
color : var(- - sapButto n_TextColor );
19
19
box- sizing: bor der- box;
20
+ white-space: nowrap;
21
+ overflow: hidden;
22
+ text- overflow: ellipsis ;
20
23
}
21
24
22
25
: host ([disabled ]) {
93
96
text-overflow : inherit;
94
97
}
95
98
96
- : host ([has-icon ]) .ui5-button-text {
99
+ : host ([has-icon ]: not ([icon-end ])) .ui5-button-text {
100
+ max-width : calc (100% - 1rem );
97
101
margin-left : var (--_ui5_button_base_icon_margin );
98
102
}
99
103
104
+ : host ([has-icon ][icon-end ]) .ui5-button-text {
105
+ margin-left : 0 ;
106
+ }
107
+
100
108
: host ([disabled ]) {
101
109
opacity : 0.5 ;
102
110
pointer-events : none;
Original file line number Diff line number Diff line change 66
66
< ui5-button icon ="employee " aria-label ="Download book "> Action Bar Button</ ui5-button >
67
67
< ui5-button icon ="download "> </ ui5-button >
68
68
69
+ < ui5-button icon ="employee " aria-label ="Download book " style ="width: 6rem; "> Action Bar Button</ ui5-button >
70
+ < ui5-button icon ="employee " icon-end aria-label ="Download book " style ="width: 6rem; "> Action Bar Button</ ui5-button >
71
+
69
72
< br />
70
73
< br />
71
74
You can’t perform that action at this time.
0 commit comments