diff --git a/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.css b/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.css index 56ce0370f..88eca07f4 100644 --- a/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.css +++ b/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.css @@ -1,6 +1,8 @@ -/* The cards on the swarm page: hives, then the notification router. */ -.ui-swarm-card { - margin-block-end: 0.5em; +/* The swarm page: its cards in one column, one gap apart as on the other pages. */ +.ui-swarm-page { + display: flex; + flex-direction: column; + gap: 1em; } /* The warning at the top of the beta notification router card. */ .ui-swarm-beta { diff --git a/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.tsx b/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.tsx index f9fbdabb7..446f92061 100644 --- a/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.tsx +++ b/frontend/packages/swarm-ui/src/pages/swarm/SwarmPage.tsx @@ -13,32 +13,26 @@ import "./SwarmPage.css"; export function SwarmPage() { return ( - <> -
- beta: the notification router is still changing. - Flows, their wording and what they match may change, and a flow you - wrote may need rewriting after an update. -
-+ beta: the notification router is still changing. + Flows, their wording and what they match may change, and a flow you + wrote may need rewriting after an update. +
+