fix ui and add powerOutage list
Some checks failed
Deploy MyApp on Same Server / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-06-03 00:46:37 +03:30
parent 9ec7187e07
commit da180e76ab
52 changed files with 746 additions and 280 deletions

View File

@@ -48,13 +48,13 @@ export function Dialog({ isOpen, onClose, title, children }: DialogProps) {
/>
{/* Dialog */}
<div className="relative bg-white rounded-2xl shadow-2xl max-w-2xl w-full max-h-[90vh] overflow-hidden flex flex-col z-10">
<div className="relative bg-white rounded-lg shadow-lg max-w-2xl w-full max-h-[90vh] overflow-hidden flex flex-col z-10">
{/* Header */}
<div className="flex items-center justify-between p-6 border-b border-gray-200">
<h2 className="text-xl font-bold text-gray-900">{title}</h2>
<h2 className="text-lg font-semibold text-gray-900">{title}</h2>
<button
onClick={onClose}
className="p-2 hover:bg-gray-100 rounded-lg transition-colors"
className="p-2 hover:bg-gray-100 rounded-md transition-colors"
aria-label="بستن"
>
<X className="w-5 h-5 text-gray-500" />