Skip to content

Commit 8dd5c5b

Browse files
author
shleewhite
committed
chore: remove content from docs that isnt true
1 parent 800bdb9 commit 8dd5c5b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

website/docs/components/app-side-nav/partials/code/how-to-use.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,13 @@ The App Side Nav component **automatically**:
206206

207207
Any other content in the App Side Nav needs to be **explicitly handled** by the consumers (in this way they have full control of the content they add, and they can customize the transition as they want/need).
208208

209-
One possible way to do it is to use the **`hds-app-side-nav-hide-when-minimized` class**. This is a special class that can be applied to a DOM element so that it **automatically** fades in/out when the App Side Nav changes its “minimization” state.
209+
One possible way to do it is to use the **`hds-app-side-nav--hide-when-minimized` class**. This is a special class that can be applied to a DOM element so that it **automatically** fades in/out when the App Side Nav changes its “minimization” state.
210210

211211
More specifically:
212212

213213
- `minimized → maximized` transition: the content appears with a fade-in effect, when the width animation is already completed (the width is maximized)
214214
- `maximized → minimized` transition: the content disappears at once with no transition, before the width animation starts
215215

216-
Another option is to use the **`isMinimized` parameter**, which is useful in those cases where the content is so custom/specialized that it can’t just be faded in/out but needs to have a different kind of transition (eg. remain visible but change layout or respond to the width of the container). This value is passed down by the `<:header/body/footer>` named blocks as parameters, and can be used to build custom logic on the consumers’ side.
217-
218216
#### Advanced customization
219217

220218
Some aspects of the responsiveness/animation/transition of the App Side Nav are parameterized in code via CSS custom properties. It means that _in theory_ they could be customized/overwritten. This though is **something that we don’t recommend**.

0 commit comments

Comments
 (0)