larxius commited on
Commit
dab8e64
·
verified ·
1 Parent(s): 6b94073

Update frontend/src/components/CustomModal.jsx

Browse files
frontend/src/components/CustomModal.jsx CHANGED
@@ -23,7 +23,7 @@ export const CustomModal = ({ isOpen, onClose, title, description, children, foo
23
  onClick={onClose}
24
  />
25
 
26
- <div className={`bg-surface-container-lowest border border-outline-variant shadow-2xl rounded-2xl w-full ${maxWidth} relative z-10 animate-fade-in flex flex-col max-h-[90vh]`}>
27
 
28
  {/* Header */}
29
  <div className={`flex justify-between items-start p-xl ${children ? 'border-b border-outline-variant' : ''}`}>
@@ -41,7 +41,7 @@ export const CustomModal = ({ isOpen, onClose, title, description, children, foo
41
 
42
  {/* Body */}
43
  {children && (
44
- <div className="p-xl overflow-y-auto">
45
  {children}
46
  </div>
47
  )}
 
23
  onClick={onClose}
24
  />
25
 
26
+ <div className={`bg-surface-container-lowest border border-outline-variant shadow-2xl rounded-2xl w-full ${maxWidth} relative z-10 animate-fade-in flex flex-col max-h-[90vh] hide-scrollbar`}>
27
 
28
  {/* Header */}
29
  <div className={`flex justify-between items-start p-xl ${children ? 'border-b border-outline-variant' : ''}`}>
 
41
 
42
  {/* Body */}
43
  {children && (
44
+ <div className="p-xl overflow-y-auto hide-scrollbar">
45
  {children}
46
  </div>
47
  )}