diff --git a/docs/docs/components/divider.md b/docs/docs/components/divider.md index eb7abffcd..30bbed5e0 100644 --- a/docs/docs/components/divider.md +++ b/docs/docs/components/divider.md @@ -39,16 +39,16 @@ Use the `--spacing` custom property to change the amount of space between the di ``` -### Vertical +### Orientation -Add the `vertical` attribute to draw the divider in a vertical orientation. The divider will span the full height of its container. Vertical dividers work especially well inside of a flex container. +The default orientation for dividers is `horizontal`. Set `orientation` attribute to `vertical` to draw a vertical divider. The divider will span the full height of its container. ```html {.example}
First - + Middle - + Last
``` diff --git a/docs/docs/components/split-panel.md b/docs/docs/components/split-panel.md index e604a9ac5..adfaf1f04 100644 --- a/docs/docs/components/split-panel.md +++ b/docs/docs/components/split-panel.md @@ -80,12 +80,12 @@ To set the initial position in pixels instead of a percentage, use the `position ``` -### Vertical +### Orientation -Add the `vertical` attribute to render the split panel in a vertical orientation where the start and end panels are stacked. You also need to set a height when using the vertical orientation. +Set the `orientation` attribute to `vertical` and provide a height to render the split panel in a vertical orientation where the start and end panels are stacked. ```html {.example} - +
- +
- +
- +
- +