Skip to content

Commit

Permalink
Docs(web): Improve ModalDialog expandedOnMobile documentation #DS-1201
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed May 2, 2024
1 parent 586d585 commit 2f290b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/scss/components/Modal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ class.

#### Expanded Variant

We recommend expanding the docked dialog on mobile screens using the `ModalDialog--expandOnMobile` modifier class.
If you omit the class, the dialog shrinks to fit the height of its content (if smaller than the viewport).
By default the docked dialog on mobile screens shrinks to fit the height of its content
(if smaller than the viewport). Use the `ModalDialog--expandOnMobile` class to expand the dialog on mobile.

```html
<article class="ModalDialog ModalDialog--dockOnMobile ModalDialog--expandOnMobile">
Expand Down

0 comments on commit 2f290b1

Please sign in to comment.