fix(settings): vertically center rows in automation rules and labels tables

The shared TableCell defaults to align-top, so the title, badges and
actions menu sat slightly above the row's vertical center. Override the
data cells with align-middle in both settings tables so every element
lines up with the centered actions button.
This commit is contained in:
Víctor Falcón 2026-06-30 12:29:02 +02:00
parent d55e15bb4f
commit 7d99fd5a63
2 changed files with 8 additions and 2 deletions

View File

@ -155,7 +155,10 @@ function AutomationRuleRow({
{row
.getVisibleCells()
.map((cell: Cell<AutomationRule, unknown>) => (
<TableCell key={cell.id}>
<TableCell
key={cell.id}
className="align-middle"
>
{flexRender(
cell.column.columnDef.cell,
cell.getContext(),

View File

@ -121,7 +121,10 @@ function LabelRow({ row }: { row: Row<Label> }) {
{row
.getVisibleCells()
.map((cell: Cell<Label, unknown>) => (
<TableCell key={cell.id}>
<TableCell
key={cell.id}
className="align-middle"
>
{flexRender(
cell.column.columnDef.cell,
cell.getContext(),