> For the complete documentation index, see [llms.txt](https://attr.sygnal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://attr.sygnal.com/sa5-layout/equal-height-rows.md).

# Equal Height Rows ❺🧪

## Equal Height Rows

Goals;

* Support equal-height rows&#x20;

* Make it responsive, so that this calculation is only performed on specific breakpoints&#x20;

* Can be applied to any element, the children will be considered rows
  * Does not explicitly need to be a grid&#x20;

* Mobile view?&#x20;

## Technical Notes

Approaches;&#x20;

Calc

* Identify all grids with same name&#x20;
* Determine largest row height of each, per item, and adjust others
  * Apply as style height&#x20;
* Must re-adjust on any resize&#x20;
* Must remove on breakpoints where we do not want this&#x20;

Subgrid

* Must set rows of parent grid based on child grid max?&#x20;
* Must suppress collection list layout elements of child grids to allow alignment&#x20;

Set rows&#x20;

Layout to Grid ( move elements )&#x20;

`wfu-grid-equalheightrows` = ( name )

All elements with the matching name will be set as equal height rows&#x20;

Missing elements?  Create, ignore&#x20;

\``wfu-grid-equalheightrows:bp` = ( breakpoints )&#x20;

d,t

Process&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://attr.sygnal.com/sa5-layout/equal-height-rows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
