Why is SideNavigationItem styled with min-width: 15rem; width: 15rem; max-width: 100%? #12048
-
I noticed that the SideNavigationItem component has the following CSS applied to the min-width: 15rem;
width: 15rem;
max-width: 100%; This seems to enforce a fixed width of 15rem, but still sets a max-width of 100%. An intentional design decision, meaning SideNavigationItem is meant to be rigidly 15rem wide at all times? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi @gozld5153 I'll transfer this question to the |
Beta Was this translation helpful? Give feedback.
-
Hi @sap/ui5-webcompoents-topic-rd, Could you please take a look at that discussion? Regards, |
Beta Was this translation helpful? Give feedback.
-
Hello @gozld5153 , Depending on the theme, a minimum width is defined by design (16rem for the Horizon theme). Regards, |
Beta Was this translation helpful? Give feedback.
-
Issue for update of the documentation created: #12080 |
Beta Was this translation helpful? Give feedback.
Hello @gozld5153 ,
Depending on the theme, a minimum width is defined by design (16rem for the Horizon theme).
You can increase the width, but it cannot be set to a smaller value.
Regards,
Lidiya