Skip to content

Commit f5c34c7

Browse files
committed
RBAC: flex Roles page header + cell content horizontally with gap-1
1 parent d620473 commit f5c34c7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • apps/webapp/app/routes/_app.orgs.$organizationSlug.settings.roles

apps/webapp/app/routes/_app.orgs.$organizationSlug.settings.roles/route.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export default function Page() {
207207
<TableHeaderCell>Permission</TableHeaderCell>
208208
{columns.map(({ role }) => (
209209
<TableHeaderCell key={role.id} alignment="center">
210-
<div className="flex flex-col items-center gap-1">
210+
<div className="flex items-center justify-center gap-1">
211211
<span>{role.name}</span>
212212
<PlanBadge
213213
roleId={role.id}
@@ -344,12 +344,12 @@ function RoleCell({
344344

345345
// At least one allow rule applies. Render ✓ in success green; if
346346
// there's a conditional cannot rule, render its label as a Badge
347-
// beneath the tick so the user sees the restriction.
347+
// alongside the tick so the user sees the restriction.
348348
const conditionalDeny = denied.find((p) => p.conditions);
349349
return (
350-
<div className="flex flex-col items-center gap-1">
350+
<div className="flex items-center justify-center gap-1">
351351
<span className="text-success" aria-label="Allowed">
352-
<CheckIcon className="mx-auto size-4" />
352+
<CheckIcon className="size-4" />
353353
</span>
354354
{conditionalDeny?.conditions ? (
355355
<Badge variant="extra-small">

0 commit comments

Comments
 (0)