Skip to content
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

content: improve components docs for the alignment property #3818

Open
brandyscarney opened this issue Sep 6, 2024 · 0 comments
Open

content: improve components docs for the alignment property #3818

brandyscarney opened this issue Sep 6, 2024 · 0 comments
Labels
content Issues related to the contents of the documentation website

Comments

@brandyscarney
Copy link
Member

URL

https://ionicframework.com/docs/api/

Issue Description

The following components have the alignment property documented at these links:

The playground examples currently only demonstrate how the alignment property works horizontally when the label placement is set to stacked. However, they do not show how the alignment property affects vertical alignment with the fixed, start, and end label placements.

We should add examples demonstrating how alignment works vertically, similar to the following, for each component:

<ion-checkbox alignment="start">
  <div class="ion-text-wrap">
    This is a really long label with a lot of text, causing the label to span 
    multiple lines. As a result, the checkbox will be vertically aligned in 
    the center, rather than at the start of the label.
  </div>
</ion-checkbox>

Note

This is just one example of how to illustrate the usage. It doesn't have to be exactly like the example provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Issues related to the contents of the documentation website
Projects
None yet
Development

No branches or pull requests

1 participant