consul/ui/packages/consul-ui/app/components/definition-table
Ronald 9d21736e9f
Add UI copyright headers files (#16614)
* Add copyright headers to UI files

* Ensure copywrite file ignores external libs
2023-03-14 09:18:55 -04:00
..
README.mdx ui: CopyableCode component (#13686) 2022-07-07 17:42:47 +01:00
debug.scss Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
index.scss Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
layout.scss Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
skin.scss Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00

README.mdx

---
class: css
---
# definition-table

Simple CSS component to render a `dl` similar to a table with column headers.

```hbs preview-template
<div class="definition-table">
  <dl>
    <dt>Title 1</dt>
    <dd>Value</dd>
    <dt>Title 2</dt>
    <dd>
      <CopyableCode
        @name="Title 2"
        @value="Value"
      />
    </dd>
  </dl>
</div>
```


```css
.definition-table {
  @extend %definition-table;
}
```