File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ class SideNavigationItem extends SideNavigationSelectableItemBase {
175
175
get classesArray ( ) {
176
176
const classes = super . classesArray ;
177
177
178
- if ( ! this . effectiveDisabled && this . sideNavigation ?. collapsed && this . items . length ) {
178
+ if ( ! this . effectiveDisabled && this . items . length ) {
179
179
classes . push ( "ui5-sn-item-with-expander" ) ;
180
180
}
181
181
Original file line number Diff line number Diff line change 16
16
}
17
17
18
18
: host ([in-popover ]) .ui5-sn-item-level1 .ui5-sn-item-text {
19
- margin : 0 1 rem 0 0 ;
19
+ margin : 0 0.375 rem 0 0 ;
20
20
line-height : var (--_ui5_side_navigation_popup_title_line_height );
21
21
}
22
22
Original file line number Diff line number Diff line change @@ -339,7 +339,11 @@ and there is an additional border that appears on hover. */
339
339
white-space : nowrap;
340
340
}
341
341
342
- .ui5-sn-item-with-expander .ui5-sn-item-icon ::after {
342
+ : host (: not ([side-nav-collapsed ])) .ui5-sn-item : not (.ui5-sn-item-group ): not (.ui5-sn-item-with-expander ) .ui5-sn-item-text {
343
+ padding-inline-end : 0.375rem ;
344
+ }
345
+
346
+ : host ([side-nav-collapsed ]) .ui5-sn-item-with-expander .ui5-sn-item-icon ::after {
343
347
display : var (--_ui5_side_navigation_triangle_display );
344
348
content : "" ;
345
349
width : 0 ;
Original file line number Diff line number Diff line change 15
15
tooltip ="Home tooltip "> </ ui5-side-navigation-item >
16
16
< ui5-side-navigation-group id ="group1 " expanded text ="Group " tooltip ="Group tooltip ">
17
17
<!-- Items -->
18
- < ui5-side-navigation-item text ="Home 1 "
18
+ < ui5-side-navigation-item text ="Home 1 lorem ipsum dolor sit amet, consectetur adipiscing elit "
19
19
icon ="home "
20
20
href ="#home "
21
21
tooltip ="Home 1 tooltip "> </ ui5-side-navigation-item >
34
34
< ui5-side-navigation-sub-item text ="Others " selected > </ ui5-side-navigation-sub-item >
35
35
</ ui5-side-navigation-item >
36
36
< ui5-side-navigation-item href ="#locations " text ="Locations 2 " icon ="locate-me "> </ ui5-side-navigation-item >
37
- < ui5-side-navigation-group expanded text ="Group 2 ">
37
+ < ui5-side-navigation-group expanded text ="Group 2 lorem ipsum dolor sit amet, consectetur adipiscing elit ">
38
38
<!-- Items -->
39
39
< ui5-side-navigation-item text ="Home 1 "
40
40
icon ="home "
You can’t perform that action at this time.
0 commit comments