Skip to content

Commit ef8d4d0

Browse files
committed
reference picker height
1 parent 7e06d08 commit ef8d4d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/sn-controls-react/src/fieldcontrols/reference-grid/reference-grid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export const ReferenceGrid: React.FC<ReferenceGridProps> = (props) => {
243243

244244
<Dialog
245245
fullWidth
246-
PaperProps={{ style: { maxWidth: '950px', maxHeight: '100%' } }}
246+
PaperProps={{ style: { maxWidth: '950px', maxHeight: '600px' } }}
247247
maxWidth={false}
248248
onClose={handleDialogClose}
249249
open={isPickerOpen}

packages/sn-pickers-react/src/components/tree-picker/tree-picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export function TreePicker<T extends GenericContentWithIsParent = GenericContent
127127
}
128128

129129
return (
130-
<List style={{ padding: '0px' }}>
130+
<List style={{ padding: '0px', maxHeight: '400px' }}>
131131
{items?.map((item) => (
132132
<div
133133
onClick={(e) => onCheckedChangeHandler(e, item as any)}

0 commit comments

Comments
 (0)