Skip to content

Commit 758a96d

Browse files
committed
Makes table row heights consistent
1 parent 149ee94 commit 758a96d

File tree

2 files changed

+3
-3
lines changed
  • apps/webapp/app
    • components/primitives
    • routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.alerts

2 files changed

+3
-3
lines changed

apps/webapp/app/components/primitives/Table.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,6 @@ export const TableCell = forwardRef<HTMLTableCellElement, TableCellProps>(
209209
alignment = "left",
210210
children,
211211
colSpan,
212-
to,
213-
onClick,
214212
hasAction = false,
215213
isSticky = false,
216214
rowHoverStyle = "default",
@@ -233,8 +231,9 @@ export const TableCell = forwardRef<HTMLTableCellElement, TableCellProps>(
233231
ref={ref}
234232
className={cn(
235233
"text-xs text-charcoal-400",
236-
hasAction ? "cursor-pointer" : "px-3 py-3 align-middle",
234+
hasAction ? "cursor-pointer" : "h-10 min-h-10 px-3 align-middle",
237235
alignmentClassName,
236+
actionClassName,
238237
isSticky && stickyStyles,
239238
isSelected && isSelectedStyle,
240239
!isSelected && rowHoverStyles[rowHoverStyle],

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.alerts/route.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ function AlertChannelDetails({ alertChannel }: { alertChannel: AlertChannelListP
460460
label={"Email"}
461461
description={alertChannel.properties.email}
462462
boxClassName="group-hover/table-row:bg-charcoal-800"
463+
className="h-12"
463464
/>
464465
);
465466
}

0 commit comments

Comments
 (0)