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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃摉 Improved documentation on modern presets #34083
Conversation
Hey @gmajoulet, @newmuis, @Enriqe! These files were changed:
|
@@ -424,11 +424,11 @@ The background preset is mostly useful for designing layouts with both backgroun | |||
|
|||
##### Foreground | |||
|
|||
Use the `2021-foreground` preset for foreground elements. This anchors foreground layers to pin items, such as logos or footnotes, to the page corners or borders. | |||
Use the `2021-foreground` preset for foreground elements. This layer will always be fully visible and expand to the borders either horizontally or vertically, maximizing the size without cropping. The attribute `anchor` is useful to pin foreground layers to the page corners or borders, such that elements can be positioned relative to those borders or corners (eg: logos or footnotes). |
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.
Not sure if technical writers would want to see "e.g.," rather than "eg:"
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.
+1 to Alan's suggestions, otherwise lgtm
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.
LGTM! (Looks good to me!)
* Improved documentation on modern presets * Updated writing and gif * Updated text * Added warning background color
Added more documentation to explain how the grid-layer presets work.
There is some confusion on:
Closes #34011