diff --git a/app/src/pages/trainees/Trainees.tsx b/app/src/pages/trainees/Trainees.tsx
index e070ae5..d12b4f3 100644
--- a/app/src/pages/trainees/Trainees.tsx
+++ b/app/src/pages/trainees/Trainees.tsx
@@ -12,6 +12,7 @@ import {
import type { Trainee, UserSearchResult } from '../../api/types';
import { displayName, fmtDate } from '../../lib/format';
import { TRAINEE_FLAGS } from '../../lib/labels';
+import { cn } from '../../lib/utils';
import {
Badge,
Button,
@@ -132,8 +133,11 @@ export default function Trainees() {
onClick={() => setSortOpen((o) => !o)}
aria-haspopup="true"
aria-expanded={sortOpen}
- /* pomarańcz (accent) tylko gdy wybrano nie-domyślne sortowanie */
- className={sortKey !== 'none' ? 'border-accent/55 bg-accent/11 text-accent-text' : ''}
+ /* pomarańcz (accent) tylko gdy wybrano nie-domyślne sortowanie; telefon: pełna szerokość */
+ className={cn(
+ 'max-md:w-full',
+ sortKey !== 'none' && 'border-accent/55 bg-accent/11 text-accent-text',
+ )}
>
Sortuj: {SORT_OPTIONS.find((s) => s.id === sortKey)?.label}
@@ -174,7 +178,7 @@ export default function Trainees() {
variant="secondary"
aria-pressed={groupByGym}
onClick={() => setGroupByGym((v) => !v)}
- className={groupByGym ? 'border-accent/55 bg-accent/11 text-accent-text' : ''}
+ className={cn('max-md:w-full', groupByGym && 'border-accent/55 bg-accent/11 text-accent-text')}
>
Grupuj wg siłowni
diff --git a/app/src/topbar/MonthPicker.tsx b/app/src/topbar/MonthPicker.tsx
index 3829f45..d6fdf87 100644
--- a/app/src/topbar/MonthPicker.tsx
+++ b/app/src/topbar/MonthPicker.tsx
@@ -38,6 +38,8 @@ export function MonthPicker() {
}}
aria-haspopup="true"
aria-expanded={open}
+ /* telefon: rozciąga się między strzałkami na pełną szerokość panelu */
+ className="max-md:flex-1"
>
{formatMonth(month)}
diff --git a/app/src/topbar/Topbar.tsx b/app/src/topbar/Topbar.tsx
index bf2dbfc..f29e40a 100644
--- a/app/src/topbar/Topbar.tsx
+++ b/app/src/topbar/Topbar.tsx
@@ -38,6 +38,8 @@ function ActionButton({ action, onNavigate }: { action: TopbarAction; onNavigate
variant={action.variant ?? 'primary'}
disabled={action.disabled}
onClick={() => (action.to ? onNavigate(action.to) : action.onClick?.())}
+ /* telefon: panel grupy rozciąga opcje na pełną szerokość */
+ className="max-md:w-full"
>
{Icon && }
{action.label}