Refactor admin actions and improve code formatting: Standardize import statements, enhance error handling messages, and apply consistent formatting across event, user, and preference management functions for better readability and maintainability.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
This commit is contained in:
@@ -41,7 +41,8 @@ export default function Modal({
|
||||
<div
|
||||
className="fixed inset-0 z-[200] flex items-center justify-center p-4 backdrop-blur-sm"
|
||||
style={{
|
||||
backgroundColor: "color-mix(in srgb, var(--background) 80%, transparent)",
|
||||
backgroundColor:
|
||||
"color-mix(in srgb, var(--background) 80%, transparent)",
|
||||
}}
|
||||
onClick={closeOnOverlayClick ? onClose : undefined}
|
||||
>
|
||||
@@ -49,7 +50,8 @@ export default function Modal({
|
||||
className={`border-2 rounded-lg w-full ${sizeClasses[size]} max-h-[90vh] overflow-y-auto shadow-2xl`}
|
||||
style={{
|
||||
backgroundColor: "var(--card-hover)",
|
||||
borderColor: "color-mix(in srgb, var(--accent-color) 70%, transparent)",
|
||||
borderColor:
|
||||
"color-mix(in srgb, var(--accent-color) 70%, transparent)",
|
||||
}}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
@@ -58,4 +60,3 @@ export default function Modal({
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user