new look test4 #deploy

This commit is contained in:
martin 2026-01-20 17:23:12 +01:00
parent b79ce48dec
commit f8d9f36bb3
2 changed files with 8 additions and 2 deletions

View File

@ -98,7 +98,7 @@ const Dashboard: React.FC<DashboardProps> = ({ onActionClick, hasActiveEvent, cu
); );
}; };
return <div className="p-6">{renderContent()}</div>; return <div className="p-0 sm:p-6">{renderContent()}</div>;
}; };
const DashboardComponent: React.FC<DashboardProps> = Dashboard; const DashboardComponent: React.FC<DashboardProps> = Dashboard;

View File

@ -549,7 +549,13 @@ const EventFormInline: React.FC<EventFormInlineProps> = ({ onSuccess, onCancel,
}; };
return ( return (
<div className={isMobile ? 'p-0 border-0 rounded-none' : 'rounded-lg border p-4'}> <div
className={
isMobile
? 'w-screen relative left-1/2 right-1/2 -ml-[50vw] -mr-[50vw] p-0 border-0 rounded-none'
: 'rounded-lg border p-4'
}
>
<form onSubmit={handleSubmit} className="relative"> <form onSubmit={handleSubmit} className="relative">
<div className={isMobile ? 'sticky top-0 z-20 px-3 py-2 border-b bg-background' : 'sticky top-0 z-20 -mx-4 px-4 py-2 border-b bg-background'}> <div className={isMobile ? 'sticky top-0 z-20 px-3 py-2 border-b bg-background' : 'sticky top-0 z-20 -mx-4 px-4 py-2 border-b bg-background'}>
<div className="flex items-center justify-between gap-2"> <div className="flex items-center justify-between gap-2">