From aed436e1f0828c3e5f557959377b2c5d32b13a61 Mon Sep 17 00:00:00 2001 From: Andrew Cherniavskyi Date: Mon, 26 Feb 2024 14:31:24 +0100 Subject: [PATCH] add display flex --- docs/src/components/productX/XTheming.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/components/productX/XTheming.tsx b/docs/src/components/productX/XTheming.tsx index a2571519f4a0c1..42bd5aee4f5dc8 100644 --- a/docs/src/components/productX/XTheming.tsx +++ b/docs/src/components/productX/XTheming.tsx @@ -40,7 +40,7 @@ export default function XTheming() { const columns: Array = [ { field: 'desk', - headerName: 'desk', + headerName: 'Desk', width: customized ? 72 : 100, sortable: false, editable: true, @@ -65,6 +65,7 @@ export default function XTheming() { sortable: false, editable: true, ...(customized && { + display: 'flex', renderCell: (params: GridCellParams) => { return ; }, @@ -81,6 +82,7 @@ export default function XTheming() { sortable: false, editable: true, ...(customized && { + display: 'flex', renderCell: (params: GridCellParams) => { return ; },