Skip to content

Commit 56eb284

Browse files
Thinner small rows
1 parent 6196fa4 commit 56eb284

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/pages/system/networking/IpPoolsPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export default function IpPoolsPage() {
112112
const { table, query } = useQueryTable({
113113
query: ipPoolList(),
114114
columns,
115+
rowHeight: 'large',
115116
emptyState: <EmptyState />,
116117
})
117118
const { data: pools } = query

app/ui/lib/DateTime.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import { toLocaleDateString, toLocaleTimeString } from '~/util/date'
1010

1111
export const DateTime = ({ date, locale }: { date: Date; locale?: string }) => (
12-
<time dateTime={date.toISOString()} className="flex flex-wrap gap-x-1">
12+
<time dateTime={date.toISOString()} className="flex gap-x-1">
1313
<span>{toLocaleDateString(date, locale)}</span>
1414
<span className="text-tertiary">{toLocaleTimeString(date, locale)}</span>
1515
</time>

app/ui/lib/Table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ Table.Cell = ({ height = 'small', className, children, ...props }: TableCellProp
104104
>
105105
<div
106106
className={cn(
107-
'relative -my-[1px] -mr-[2px] flex items-center border-b border-l p-3 border-secondary',
108-
{ 'h-12': height === 'small', 'h-16': height === 'large' }
107+
'relative -my-[1px] -mr-[2px] flex items-center border-b border-l px-3 py-2 border-secondary',
108+
{ 'h-11': height === 'small', 'h-14': height === 'large' }
109109
)}
110110
>
111111
{children}

0 commit comments

Comments
 (0)