diff --git a/.changelog/11670.txt b/.changelog/11670.txt new file mode 100644 index 000000000..f8f4fa5b6 --- /dev/null +++ b/.changelog/11670.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fix visual issue with slight table header overflow +``` diff --git a/ui/packages/consul-ui/app/components/consul/intention/list/README.mdx b/ui/packages/consul-ui/app/components/consul/intention/list/README.mdx new file mode 100644 index 000000000..67f5c0695 --- /dev/null +++ b/ui/packages/consul-ui/app/components/consul/intention/list/README.mdx @@ -0,0 +1,36 @@ +# Consul::Intention::List + +A component for rendering Intentions. + + +There are some extra conextual components to use here due to how we detect +intention CRDs and make that easy to work with/add necessary notices. The +notice will only show if applicable, but the contextual component is used to +define where that is when it does display. + +```hbs preview-template + + + + + + + + +``` + +## Arguments + +| Argument/Attribute | Type | Default | Description | +| --- | --- | --- | --- | +| `items` | `array` | | An array of Intentions | +| `ondelete` | `function` | | An action to execute when the `Delete` action is clicked | + +## See + +- [Template Source Code](./index.hbs) + +--- diff --git a/ui/packages/consul-ui/app/components/tabular-collection/index.scss b/ui/packages/consul-ui/app/components/tabular-collection/index.scss index 300533879..c46301cc5 100644 --- a/ui/packages/consul-ui/app/components/tabular-collection/index.scss +++ b/ui/packages/consul-ui/app/components/tabular-collection/index.scss @@ -5,7 +5,7 @@ table.dom-recycling { %dom-recycling-table tbody { /* tbodys are all absolute so,*/ /* make room for the header */ - top: 29px !important; + top: 33px !important; /* Make room for the header, plus 20px for a margin on the bottom */ width: 100%; }