Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 222762c

Browse files
committed
fix(plugins/plugin-client-common): table status column can yield odd vertical alignment
We are using the patternfly "fitContent" policy, which does not cooperate with the `display: flex` we have for the inner content of Status cells. Instead, we need to use the patternfly "nowrap" policy for this column.
1 parent dfb70f3 commit 222762c

File tree

1 file changed

+2
-0
lines changed
  • plugins/plugin-client-common/src/components/Content/Table

1 file changed

+2
-0
lines changed

plugins/plugin-client-common/src/components/Content/Table/TableCell.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ export default function renderCell(table: KuiTable, kuiRow: KuiRow, justUpdated:
185185
modifier={
186186
/OBJECT/i.test(key) || /MESSAGE/i.test(key)
187187
? 'wrap'
188+
: /STATUS/i.test(key)
189+
? 'nowrap'
188190
: !/NAME|NAMESPACE/i.test(key)
189191
? 'fitContent'
190192
: undefined

0 commit comments

Comments
 (0)