1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-06 06:15:22 +02:00

fix(ui): consistent widget padding [r8s-136] (#82)

This commit is contained in:
Ali 2024-11-05 14:25:40 +13:00 committed by GitHub
parent 3c0d25f3bd
commit 458d722d47
16 changed files with 72 additions and 54 deletions

View file

@ -23,7 +23,7 @@ export function EnvironmentInfo() {
<table className="table">
<tbody>
<tr>
<td className="!border-none !pl-0">Environment</td>
<td className="!border-none">Environment</td>
<td
className="!border-none"
data-cy="dashboard-environmentName"
@ -32,13 +32,13 @@ export function EnvironmentInfo() {
</td>
</tr>
<tr>
<td className="!border-t !pl-0">URL</td>
<td className="!border-t">URL</td>
<td className="!border-t" data-cy="dashboard-environmenturl">
{stripProtocol(environmentData.URL) || '-'}
</td>
</tr>
<tr>
<td className="!pl-0">Tags</td>
<td>Tags</td>
<td data-cy="dashboard-environmentTags">{tagNames}</td>
</tr>
</tbody>

View file

@ -80,9 +80,9 @@ export function AccessDatatable({
</>
)}
description={
<div className="small text-muted mx-4 mb-4">
<>
{inheritFrom && (
<>
<div className="small text-muted">
<div>
Access tagged as <code>inherited</code> are inherited from the
group access. They cannot be removed or modified at the
@ -91,7 +91,7 @@ export function AccessDatatable({
<div>
Access tagged as <code>override</code> are overriding the group
</div>
</>
</div>
)}
{isBE && showWarning && isUpdateEnabled && (
<TextTip>
@ -101,7 +101,7 @@ export function AccessDatatable({
</div>
</TextTip>
)}
</div>
</>
}
/>
);