diff --git a/services/site/src/component/site/companions.css b/services/site/src/component/site/companions.css index e1365f592f2..3a3d73167b1 100644 --- a/services/site/src/component/site/companions.css +++ b/services/site/src/component/site/companions.css @@ -97,8 +97,9 @@ -webkit-text-stroke: var(--title-stroke); } - /* A card column is narrow, so the category may wrap to a second line rather than clip. */ - [data-slot="body"] { + /* A card column is narrow, so the category may wrap to a second line rather than clip. Not + "body", which the block it sits in lays out as its own column. */ + [data-slot="category"] { grid-column: 2; grid-row: 2; align-self: start; @@ -232,7 +233,7 @@ align-self: center; } - [data-slot="body"] { + [data-slot="category"] { grid-column: 3; grid-row: 1; align-self: center; diff --git a/services/site/src/component/site/companions.tsx b/services/site/src/component/site/companions.tsx index b29a62fb3c3..eb8ef0ce581 100644 --- a/services/site/src/component/site/companions.tsx +++ b/services/site/src/component/site/companions.tsx @@ -42,7 +42,7 @@ export function Companions() { - {appCopy()[app.id].category} + {appCopy()[app.id].category} {/* The same link again, so screen readers and the tab order skip it. */}