Skip to content

Commit

Permalink
increase offset for nested items
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Oct 8, 2024
1 parent f859c8f commit 1f41757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/data-grid/components/CustomColumnsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function ColumnGroup({ group, columnLookup, apiRef, columnVisibilityModel }) {
label={group.headerName ?? group.groupId}
onChange={(_, newValue) => toggleColumnGroup(newValue)}
/>
<Box sx={{ pl: 1 }}>
<Box sx={{ pl: 3.5 }}>
{group.children.map((child) => {
return isLeaf(child) ? (
<Stack direction="row" key={child.field}>
Expand Down
2 changes: 1 addition & 1 deletion docs/data/data-grid/components/CustomColumnsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function ColumnGroup({
label={group.headerName ?? group.groupId}
onChange={(_, newValue) => toggleColumnGroup(newValue)}
/>
<Box sx={{ pl: 1 }}>
<Box sx={{ pl: 3.5 }}>
{group.children.map((child) => {
return isLeaf(child) ? (
<Stack direction="row" key={child.field}>
Expand Down

0 comments on commit 1f41757

Please sign in to comment.