Implement full-page planning unit editor layout and enhance form behavior
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 37s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m13s
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 37s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m13s
- Added new CSS styles for the planning unit editor to manage scrolling and layout, ensuring a responsive design. - Updated the TrainingUnitFormShell component to include new class names for better styling and structure. - Modified the TrainingUnitEditPage to support the new layout, improving user experience when editing training units.
This commit is contained in:
1 parent
16eaf839e7
commit
734d943d73
3 files changed
+62
-5
No files matched your search
@@ -52,14 +52,14 @@ export default function TrainingUnitFormShell({
|
||||
}, [planningClubId, memberClubs])
|
||||
|
||||
return (
|
||||
<div data-testid="planning-unit-form">
|
||||
<h1 className="page-title" style={{ marginBottom: '1rem' }}>
|
||||
<div className="planning-unit-edit-host__body" data-testid="planning-unit-form">
|
||||
<h1 className="page-title" style={{ marginBottom: '1rem', flexShrink: 0 }}>
|
||||
{editingUnit ? 'Trainingseinheit bearbeiten' : 'Neue Trainingseinheit'}
|
||||
</h1>
|
||||
|
||||
<form
|
||||
id={formId}
|
||||
className="card page-form-shell"
|
||||
className="card page-form-shell page-form-shell--fill"
|
||||
style={{ padding: 'clamp(14px, 3vw, 1.75rem)' }}
|
||||
onSubmit={(e) => (onSaveAndClose ? onSaveAndClose(e) : onSaveOnly?.(e))}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user