ionic-team / ionic-team/ionic-docs

content: improve components docs for the alignment property

Abierto
#3,818 0 comentarios 0 reacciones 0 asignados Ver en GitHub
content
Lenguaje dominante
MDX
Estrellas
621
Forks
3.2k
Merge medio
1 d 2 h
PR fusionados (30 d)
86

Descripción

### URL

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

### Issue Description

The following components have the `alignment` property documented at these links:
- [Checkbox](https://ionicframework.com/docs/api/checkbox#alignment)
- [Radio](https://ionicframework.com/docs/api/radio#alignment)
- [Toggle](https://ionicframework.com/docs/api/toggle#alignment)

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:

```html


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.

```

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.