feat: enhance TrainingCoachPage with exercise details and navigation
- Replaced ExercisePeekModal with ExerciseFullContent for improved exercise visibility. - Added CoachStepNavBar component for better navigation between training steps. - Implemented loading and error handling for fetching exercise details based on the current step. - Updated UI elements for a more cohesive layout and improved user experience.
This commit is contained in:
1 parent
af3476b833
commit
6fd316e985
3 files changed
+487
-191
No files matched your search
@@ -2740,3 +2740,27 @@ a.analysis-split__nav-item {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
}
|
||||
|
||||
/* Coach — volle Übung, Nur-Mittelbereich scrollt; Steuerung oben/unten sichtbar */
|
||||
.training-coach-layout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
max-width: 720px;
|
||||
margin: 0 auto;
|
||||
min-height: calc(100dvh - var(--header-h) - var(--nav-h) - env(safe-area-inset-bottom, 0px) - 48px);
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.training-coach-layout {
|
||||
min-height: calc(100dvh - env(safe-area-inset-bottom, 0px) - 24px);
|
||||
}
|
||||
}
|
||||
|
||||
.training-coach-scroll {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
Reference in new issue
Block a user