Hi all,
I’m using a description list and I want to have the following layout:
| item |
| item | item |
| item | item |
| item |
Basically, similar to a grid with span set on different rows. Is it possible with the description list?
I’m able to achieve a similar layout using description list group within a grid.
Here’s an example:
<div class="pf-c-description-list__group">
<dt class="pf-c-description-list__term">
<span class="pf-c-description-list__text">UUID</span>
</dt>
<dd class="pf-c-description-list__description">
<div class="pf-c-description-list__text">
{{ .UUID }}
</div>
</dd>
</div>
<div class="pf-l-grid pf-m-all-6-col-on-xl">
<div class="pf-l-grid__item">
<div class="pf-c-description-list__group">
<dt class="pf-c-description-list__term">
<span class="pf-c-description-list__text">Item 1</span>
</dt>
<dd class="pf-c-description-list__description">
<div class="pf-c-description-list__text">
<a href="{{ .UUID }}">4</a>
</div>
</dd>
</div>
</div>
<div class="pf-l-grid__item">
<div class="pf-c-description-list__group">
<dt class="pf-c-description-list__term">
<span class="pf-c-description-list__text">Item 2</span>
</dt>
<dd class="pf-c-description-list__description">
<div class="pf-c-description-list__text">
<a href="{{ .UUID }}">4</a>
</div>
</dd>
</div>
</div>
</div>
Any idea?
Thanks!