From d8fd8d397e410ba65f4e73bedd25a9c8fa0dd67d Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 20 Jan 2026 17:32:57 +0100 Subject: [PATCH] new look test5 #deploy --- src/components/dashboard/Dashboard.tsx | 2 +- .../event/components/EventFormInline.tsx | 60 +++++++++++-------- 2 files changed, 37 insertions(+), 25 deletions(-) diff --git a/src/components/dashboard/Dashboard.tsx b/src/components/dashboard/Dashboard.tsx index 29eecf5..66efaec 100644 --- a/src/components/dashboard/Dashboard.tsx +++ b/src/components/dashboard/Dashboard.tsx @@ -98,7 +98,7 @@ const Dashboard: React.FC = ({ onActionClick, hasActiveEvent, cu ); }; - return
{renderContent()}
; + return
{renderContent()}
; }; const DashboardComponent: React.FC = Dashboard; diff --git a/src/features/event/components/EventFormInline.tsx b/src/features/event/components/EventFormInline.tsx index 56d929d..3794e7c 100644 --- a/src/features/event/components/EventFormInline.tsx +++ b/src/features/event/components/EventFormInline.tsx @@ -537,13 +537,15 @@ const EventFormInline: React.FC = ({ onSuccess, onCancel, type="button" variant="ghost" size="sm" - className={`flex-1 h-10 justify-center gap-2 rounded-xl transition-colors ${ + className={`flex-1 h-14 justify-center rounded-xl transition-colors ${ isActive ? 'bg-primary/10 text-primary' : 'text-muted-foreground hover:bg-primary/5 hover:text-foreground' }`} onClick={() => setActiveTab(tab)} > - - {label} + + + {label} + ); }; @@ -557,29 +559,39 @@ const EventFormInline: React.FC = ({ onSuccess, onCancel, } >
-
-
-
- {mode === 'edit' ? 'Event bearbeiten' : 'Event erstellen'} +
+ {isMobile ? ( +
+
+
+ {mode === 'edit' ? 'Event bearbeiten' : 'Event erstellen'} +
+
{loadingInitial ? 'Lade…' : ''}
+
+ {error &&
{error}
} + +
+
+ + + +
+
-
- {loadingInitial ? 'Lade…' : ''} -
-
- {error &&
{error}
} + ) : ( + <> +
+
+ {mode === 'edit' ? 'Event bearbeiten' : 'Event erstellen'} +
+
{loadingInitial ? 'Lade…' : ''}
+
+ {error &&
{error}
} + + )}
- {isMobile && ( -
-
- - - -
-
- )} - -
+
{!isMobile && (