fix: Remove duplicate max-h-[90vh] in Modal container
The max-h-[90vh] class was duplicated: - Once in the hard-coded className - Once in modalSizeClass variable Now it only comes from modalSizeClass, avoiding CSS duplication
This commit is contained in:
parent
ba8cee22d3
commit
23e122e2b5
@ -137,7 +137,7 @@ export function Modal({
|
||||
>
|
||||
<div
|
||||
ref={contentRef}
|
||||
className={`flex flex-col rounded-2xl bg-white shadow-xl max-h-[90vh] overflow-y-auto transition-all duration-200 ${modalSizeClass} ${
|
||||
className={`flex flex-col rounded-2xl bg-white shadow-xl overflow-y-auto transition-all duration-200 ${modalSizeClass} ${
|
||||
isAnimating ? "scale-100 opacity-100" : "scale-95 opacity-0"
|
||||
} ${className}`}
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user