Skip to content

Commit

Permalink
small ui tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrySentry committed Apr 26, 2024
1 parent 21b0397 commit 620053e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export const LoadingTable = () => {
</tr>
))}
</thead>
<tbody>
<br />
</tbody>
</table>
</div>
)
Expand Down Expand Up @@ -266,7 +269,6 @@ const ComponentTable = memo(function Table({
</tr>
))}
</thead>

<tbody data-testid="body-row">
{isLoading ? (
<tr>
Expand All @@ -285,6 +287,10 @@ const ComponentTable = memo(function Table({
</tr>
))
)}
{
/* Adds an extra line beneath the header row for the special case that the table is empty */
!tableData.length ? <br /> : null
}
</tbody>
</table>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Button from 'ui/Button'
import Icon from 'ui/Icon'

function ComponentsNotConfigured() {
return (
Expand All @@ -16,8 +17,10 @@ function ComponentsNotConfigured() {
variant="primary"
disabled={false}
to={{ pageName: 'components' }}
showExternalIcon={false}
>
Get started with components
<Icon name="externalLink" variant="solid" size="sm" />
</Button>
</div>
</div>
Expand Down

0 comments on commit 620053e

Please sign in to comment.