diff --git a/frontend/src/app.css b/frontend/src/app.css index f89aef8..05af7a3 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -1450,6 +1450,63 @@ html.modal-scroll-locked .app-main { padding-right: var(--page-pad, 16px); } +/* Einheiten-Editor (Vollseite): Scroll im Formular, Action Bar am unteren Formularrand */ +.app-main:has(.planning-unit-edit-host) { + overflow: hidden; + display: flex; + flex-direction: column; +} +.planning-layout:has(.planning-unit-edit-host) { + flex: 1 1 auto; + min-height: 0; + display: flex; + flex-direction: column; + overflow: hidden; +} +.planning-layout__main:has(.planning-unit-edit-host) { + flex: 1 1 auto; + min-height: 0; + display: flex; + flex-direction: column; + overflow: hidden; +} +.planning-unit-edit-host { + flex: 1 1 auto; + min-height: 0; + display: flex; + flex-direction: column; + overflow: hidden; +} +.planning-unit-edit-host__body { + flex: 1 1 auto; + min-height: 0; + display: flex; + flex-direction: column; + overflow: hidden; +} +.page-form-shell--fill { + flex: 1 1 auto; + min-height: 0; + overflow: hidden; +} +.page-form-shell--fill .page-form-shell__scroll { + overflow-x: hidden; + overflow-y: auto; + overscroll-behavior: contain; + overscroll-behavior-x: none; + touch-action: pan-y; + -webkit-overflow-scrolling: touch; + padding-bottom: 4px; +} +.page-form-shell--fill .form-action-bar { + position: static; + margin-top: auto; + flex-shrink: 0; +} +.form-action-bar--page { + flex-shrink: 0; +} + /* Einstellungen: gleiche Split-Struktur wie Analyse/Admin */ .settings-shell { width: 100%; diff --git a/frontend/src/components/planning/TrainingUnitFormShell.jsx b/frontend/src/components/planning/TrainingUnitFormShell.jsx index 875d725..be75b2e 100644 --- a/frontend/src/components/planning/TrainingUnitFormShell.jsx +++ b/frontend/src/components/planning/TrainingUnitFormShell.jsx @@ -52,14 +52,14 @@ export default function TrainingUnitFormShell({ }, [planningClubId, memberClubs]) return ( -