Skip to content

Commit aa82c82

Browse files
authored
[Layout foundations] Fix Inline component doc (#7604)
<!-- ☝️How to write a good PR title: - Prefix it with [ComponentName] (if applicable), for example: [Button] - Start with a verb, for example: Add, Delete, Improve, Fix… - Give as much context as necessary and as little as possible - Prefix it with [WIP] while it’s a work in progress --> ### WHAT is this pull request doing? Change `Inline` Vertical alignment example to use wording `Bottom` instead of `End` <!-- Summary of the changes committed. Before / after screenshots are appreciated for UI changes. Make sure to include alt text that describes the screenshot. If you include an animated gif showing your change, wrapping it in a details tag is recommended. Gifs usually autoplay, which can cause accessibility issues for people reviewing your PR: <details> <summary>Summary of your gif(s)</summary> <img src="..." alt="Description of what the gif shows"> </details> --> <!-- ℹ️ Delete the following for small / trivial changes --> ### 🎩 checklist - [ ] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [ ] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [ ] Updated the component's `README.md` with documentation changes - [ ] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide
1 parent a9051d6 commit aa82c82

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/curvy-dryers-hunt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': patch
3+
---
4+
5+
Updated `Inline` component doc vertical alignment example

polaris.shopify.com/pages/examples/inline-with-vertical-alignment.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function InlineWithVerticalAlignmentExample() {
2323
<Placeholder width="106px" height="20px" />
2424
</Inline>
2525
<Inline alignY="bottom">
26-
<Placeholder width="106px" label="End" />
26+
<Placeholder width="106px" label="Bottom" />
2727
<Placeholder width="106px" height="20px" />
2828
<Placeholder width="106px" height="20px" />
2929
<Placeholder width="106px" height="20px" />

0 commit comments

Comments
 (0)