diff --git a/src/components/notify/NotifyComponent.tsx b/src/components/notify/NotifyComponent.tsx index 4fa154b..6d399b7 100644 --- a/src/components/notify/NotifyComponent.tsx +++ b/src/components/notify/NotifyComponent.tsx @@ -28,7 +28,6 @@ const styles = (theme: any) => ({ maxWidth: 360, backgroundColor: '#efefef', minHeight: 376, - maxHeight: '380px', display: 'flex', }, noNotify: { @@ -47,10 +46,14 @@ const styles = (theme: any) => ({ overflowY: 'auto' }, popper: { - maxHeight: '380px' }, overflowHidden: { overflow: 'hidden' + }, + list: { + maxHeight: 380, + overflowY: 'auto' + } }) @@ -140,7 +143,7 @@ export class NotifyComponent extends Component - {items.length > 0 ? {items} : noNotify} + {items.length > 0 ? {items} : noNotify}