Skip to content

Commit 6c50e97

Browse files
chore: edit texts
1 parent d975ffa commit 6c50e97

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

packages/fiori/src/NavigationLayout.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ import NavigationLayoutCss from "./generated/themes/NavigationLayout.css.js";
2626
*
2727
* ### Responsive Behavior
2828
*
29-
* On a breakpoint over Size S (over 600px width of the display), the side navigation is visible
29+
* On larger screens (over 600px width), the side navigation is visible
3030
* by default and can be expanded or collapsed using the `mode` property.
31-
* On a breakpoint of Size S (under 600px width of the display), the side navigation is hidden by default and can
32-
* be displayed using the `mode` property.
31+
* On small screens(under 600px width), the side navigation is hidden by
32+
* default and can be displayed using the `mode` property.
3333
*
3434
* ### ES6 Module Import
3535
*

packages/fiori/src/SideNavigation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ class SideNavigation extends UI5Element {
123123
/**
124124
* Defines whether the `ui5-side-navigation` is expanded or collapsed.
125125
*
126-
* **Note:** The collapsed mode is not supported on screens under 600 px wide.
126+
* **Note:** The collapsed mode is not supported on small screens (under 600 px wide) and in
127+
* expanded mode the Side Navigation will take the whole width of the screen.
127128
* The `ui5-side-navigation` component is intended to be used within a `ui5-navigation-layout`
128129
* component to ensure proper responsive behavior. If you choose not to use the
129130
* `ui5-navigation-layout`, you will need to implement the appropriate responsive patterns yourself,

packages/fiori/src/types/NavigationLayoutMode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
enum NavigationLayoutMode {
66
/**
77
* Automatically calculates the navigation layout mode based on the screen device type.
8-
* `Expanded` on size M, L, XL and `Collapsed` on size S screens.
8+
* `Collapsed` on small screens (under 600 px wide) and `Expanded` on larger screens.
99
* @public
1010
*/
1111
Auto = "Auto",

0 commit comments

Comments
 (0)