fix(front): layout for section in explore page

environments/review-docs-feat-z0hkbz/deployments/20731
upsiflu 2025-02-19 10:33:00 +01:00
rodzic 8cfead746d
commit a3e94d677a
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -121,7 +121,14 @@ Sections divide the page vertically. Choose an appropriate heading level for eac
### Make the section header align with the section contents
Do you want to align the header to no, tiny, small or medium items?
The section aligns its title and items to a grid, following the designs. To make sure the header of a section exactly aligns with its contents, set the item width:
Do you want to align the header to
- `no-items` (mixed content),
- `tiny-items` (each item is one column wide),
- `small-items` (each item is two columns wide, e.g. default cards),
- `medium-items` (each item is three columns wide, such as Activities or medium cards)?
If all items stretch all columns (`style=grid-column: 1 / -1`), use `no-items`.