feat: enhance training framework UI and responsiveness
Deploy Development / deploy (push) Successful in 34s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Failing after 39s

- Updated app.css to improve layout and responsiveness for mobile and desktop views, including new styles for session slots and chips.
- Modified TrainingUnitSectionsEditor to support a wider exercise grid for better usability.
- Enhanced TrainingFrameworkProgramEditPage with improved slot management and mobile navigation features.
- Introduced dynamic slot chip labels for better user interaction and clarity.
This commit is contained in:
Lars committed 2026-05-05 14:22:37 +02:00
1 parent c4fbabd8f6
commit 69adf1fde0
3 files changed
+299 -123

No files matched your search

@@ -17,6 +17,7 @@ export default function TrainingUnitSectionsEditor({
showExecutionExtras = false,
heading = 'Abschnitte & Übungen',
hideHeading = false,
wideExerciseGrid = false,
}) {
const ensure = (prev) =>
prev && prev.length ? prev : [defaultSection()]
@@ -233,7 +234,9 @@ export default function TrainingUnitSectionsEditor({
key={`ex-${sIdx}-${iIdx}`}
style={{
display: 'grid',
gridTemplateColumns: '28px minmax(0, 1fr) minmax(0, 64px) 36px',
gridTemplateColumns: wideExerciseGrid
? '32px minmax(0, 1fr) minmax(96px, 220px) 44px'
: '28px minmax(0, 1fr) minmax(0, 64px) 36px',
gap: '6px',
alignItems: 'start',
marginTop: '0.65rem',