entry !== first)} />
);
}
diff --git a/ui/src/ds/table.css b/ui/src/ds/table.css
index 4f529408..84b8db1a 100644
--- a/ui/src/ds/table.css
+++ b/ui/src/ds/table.css
@@ -212,7 +212,7 @@
}
.table .table-menu {
- width: 3.5rem;
+ width: 5rem;
text-align: right;
}
diff --git a/ui/src/ds/toast.css b/ui/src/ds/toast.css
index 443281f7..0a964d7f 100644
--- a/ui/src/ds/toast.css
+++ b/ui/src/ds/toast.css
@@ -34,11 +34,17 @@
.toast-content {
display: grid;
- gap: var(--space-1);
- padding: var(--space-3) var(--space-4);
+ grid-template-columns: minmax(0, 1fr) auto;
+ gap: var(--space-1) var(--space-2);
+ padding: var(--space-1) var(--space-1) var(--space-3) var(--space-4);
+}
+
+.toast-content > :not(.toast-close) {
+ grid-column: 1;
}
.toast-title {
+ align-self: center;
margin: 0;
font-size: var(--text-sm);
font-weight: 600;
@@ -69,8 +75,9 @@
display: none;
}
-.toast-close {
- position: absolute;
- top: var(--space-2);
- right: var(--space-2);
+/* why: the close keeps its 40px hit area but not its border, so it reads as part of the toast. */
+.toast .toast-close {
+ grid-column: 2;
+ grid-row: 1;
+ border-color: transparent;
}
diff --git a/ui/src/screens/fleet/fleet.css b/ui/src/screens/fleet/fleet.css
index 4a8fffd2..2db02ceb 100644
--- a/ui/src/screens/fleet/fleet.css
+++ b/ui/src/screens/fleet/fleet.css
@@ -165,3 +165,8 @@
.worker-events li > :last-child {
grid-column: 2;
}
+
+.panel .facts + .table-card {
+ margin-top: var(--space-4);
+ border-top: 1px solid var(--border);
+}
diff --git a/ui/src/screens/fleet/worker-page.tsx b/ui/src/screens/fleet/worker-page.tsx
index 702cbc9d..d9db8ad2 100644
--- a/ui/src/screens/fleet/worker-page.tsx
+++ b/ui/src/screens/fleet/worker-page.tsx
@@ -70,11 +70,6 @@ export function WorkerPageBody({ page }: { readonly page: WorkerPageView }) {
{...(page.version === undefined ? {} : { note: page.version })}
actions={}
>
-
{page.health.word}
{page.system === undefined ? null : <> · {page.system}>}
diff --git a/ui/src/screens/inbox/inbox.css b/ui/src/screens/inbox/inbox.css
index 67ff3279..56a2f2e3 100644
--- a/ui/src/screens/inbox/inbox.css
+++ b/ui/src/screens/inbox/inbox.css
@@ -97,7 +97,7 @@
display: flex;
align-items: center;
gap: var(--space-2);
- padding-right: var(--space-4);
+ padding: var(--space-2) var(--space-4) var(--space-2) 0;
}
.inbox-row {
diff --git a/ui/src/screens/inbox/index.tsx b/ui/src/screens/inbox/index.tsx
index 6e9058d7..fceefbc9 100644
--- a/ui/src/screens/inbox/index.tsx
+++ b/ui/src/screens/inbox/index.tsx
@@ -129,6 +129,7 @@ export function InboxBody(props: {
function InboxActions(props: { readonly row: InboxRow; readonly actions: InboxRowActions }) {
const { actions, row } = props;
+ const rest = actions.menu.filter((entry) => entry.key !== actions.fix?.key);
return (
{actions.fix === undefined ? null : (
@@ -136,9 +137,7 @@ function InboxActions(props: { readonly row: InboxRow; readonly actions: InboxRo
{actions.fix.label}
)}
- {actions.menu.length === 0 ? null : (
-
- )}
+
);
}