diff --git a/app/src/components/ui/content.tsx b/app/src/components/ui/content.tsx index 289c6b3..353245a 100644 --- a/app/src/components/ui/content.tsx +++ b/app/src/components/ui/content.tsx @@ -294,7 +294,7 @@ export function Tabs({
{tabs.map((t) => (
{/* relative: sr-only (absolute) w nagłówku nie rozlewa dokumentu poza scroll container */} -
+
diff --git a/app/src/pages/plans/plan-editor/ExercisePicker.tsx b/app/src/pages/plans/plan-editor/ExercisePicker.tsx index 7e84377..076b669 100644 --- a/app/src/pages/plans/plan-editor/ExercisePicker.tsx +++ b/app/src/pages/plans/plan-editor/ExercisePicker.tsx @@ -169,7 +169,7 @@ export function ExercisePicker({ role="listbox" aria-label="Ćwiczenia" aria-activedescendant={flat[active] ? `ex-opt-${flat[active].id}` : undefined} - className="max-h-72 overflow-y-auto -mx-1 px-1" + className="max-h-72 overflow-y-auto overscroll-contain -mx-1 px-1" > {flat.length === 0 && (

diff --git a/app/src/styles.css b/app/src/styles.css index d4bc232..9fc96fe 100644 --- a/app/src/styles.css +++ b/app/src/styles.css @@ -197,6 +197,9 @@ @layer base { html { background-color: var(--bg); + /* iOS: wyłącza „gumkę" (rubber-band) dokumentu — sticky topbar i fixed bottom bar + nie odbijają się od krawędzi ekranu przy przeciąganiu poza koniec strony */ + overscroll-behavior-y: none; } body {