-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: fix and improve the description of the default reveal width #10996
Conversation
docs/pages/reveal.md
Outdated
@@ -64,7 +64,7 @@ You can use our handy [close button](close-button.html) styles to do this: | |||
|
|||
## Sizing | |||
|
|||
On small screens, a modal is always 100% of the width of the screen. On medium-sized screens and larger, the width changes to 80%. | |||
On small screens, a modal is always 100% of the width of the screen. On medium-sized screens and larger, the width changes to 600px. If you're using the Sass version of Foundation, edit the `$reveal-width` variable to change this. This can be a percentage value, or a pixel value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to repeat that. You can simply reference the setting with:
(see the
$reveal-width
setting).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/pages/reveal.md
Outdated
@@ -64,7 +64,7 @@ You can use our handy [close button](close-button.html) styles to do this: | |||
|
|||
## Sizing | |||
|
|||
On small screens, a modal is always 100% of the width of the screen. On medium-sized screens and larger, the width changes to 80%. | |||
On small screens, a modal is always 100% of the width of the screen. On medium-sized screens and larger, the width changes to 600px (see the $reveal-width setting). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$reveal-width
with "`" 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed =)
👍 LGTM, thx |
This provides a better description of the default width of the reveal.
Closes #8707