Skip to content

Commit 4d719d7

Browse files
committed
go full width on settings tab
1 parent 6186cff commit 4d719d7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/pages/project/instances/AntiAffinityCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const antiAffinityGroupList = ({ project, instance }: PP.Instance) =>
3939
const colHelper = createColumnHelper<AffinityGroup | AntiAffinityGroup>()
4040
const staticCols = [
4141
colHelper.accessor('description', {
42-
cell: (info) => <DescriptionCell text={info.getValue()} maxLength={32} />,
42+
cell: (info) => <DescriptionCell text={info.getValue()} />,
4343
}),
4444
colHelper.accessor('policy', {
4545
header: () => (
@@ -96,7 +96,7 @@ export function AntiAffinityCard() {
9696
})
9797

9898
return (
99-
<CardBlock width="medium">
99+
<CardBlock>
100100
<CardBlock.Header title="Anti-affinity groups" titleId="anti-affinity-groups-label" />
101101
<CardBlock.Body>
102102
{antiAffinityGroups.items.length > 0 ? (

app/pages/project/instances/AutoRestartCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function AutoRestartCard() {
9090

9191
return (
9292
<form onSubmit={onSubmit}>
93-
<CardBlock width="medium">
93+
<CardBlock>
9494
<CardBlock.Header
9595
title="Auto-restart"
9696
description="The auto-restart policy for this instance"
@@ -103,7 +103,7 @@ export function AutoRestartCard() {
103103
description="The global default is currently best effort, but this may change in the future."
104104
items={restartPolicyItems}
105105
required
106-
className="max-w-none"
106+
className="max-w-lg"
107107
/>
108108
<FormMeta
109109
label="Cooldown expiration"

0 commit comments

Comments
 (0)