From e23d1498623b60c297870eae96ff9037f91795cd Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Fri, 16 Jun 2023 14:30:20 -0600 Subject: [PATCH] Merge pull request #23104 from smeagol74/patch-1 Docs: Add details for `defaultOrientation` (cherry picked from commit 481142525305fdc78726ff9c708f09efa420d186) --- docs/essentials/viewport.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/essentials/viewport.md b/docs/essentials/viewport.md index ec6b7caddf45..d2742b73b81b 100644 --- a/docs/essentials/viewport.md +++ b/docs/essentials/viewport.md @@ -32,11 +32,12 @@ If you want to change the default set of viewports, you can set the global `para The viewport global can take an object with the following keys: -| Field | Type | Description | Default Value | -| ------------------- | :-----: | :---------------------------------------: | :------------: | -| **defaultViewport** | String | Sets the default viewport | `'responsive'` | -| **disable** | Boolean | Disables the viewport | N/A | -| **viewports** | Object | The configuration object for the viewport | `{}` | +| Field | Type | Description | Default Value | +| ---------------------- | :-----: | :-------------------------------------------------------: | :------------: | +| **defaultViewport** | String | Sets the default viewport | `'responsive'` | +| **defaultOrientation** | String | Sets the default orientation (e.g. portrait or landscape) | `'portrait'` | +| **disable** | Boolean | Disables the viewport | N/A | +| **viewports** | Object | The configuration object for the viewport | `{}` | The viewports object needs the following keys: