diff --git a/frontend/src/components/GroupSwitcher.tsx b/frontend/src/components/GroupSwitcher.tsx index 6d12d1f..067c358 100644 --- a/frontend/src/components/GroupSwitcher.tsx +++ b/frontend/src/components/GroupSwitcher.tsx @@ -21,7 +21,7 @@ export function GroupSwitcher() { className={"btn" + (active ? " btn-primary" : "")} onClick={() => !active && setActive.mutate(g.id)} > - {g.name} {active && "✓"} ({g.role}) + {g.name} {active && "✓"} ); })} diff --git a/frontend/src/pages/admin/AdminLayout.tsx b/frontend/src/pages/admin/AdminLayout.tsx index 61c5b16..c26f6cc 100644 --- a/frontend/src/pages/admin/AdminLayout.tsx +++ b/frontend/src/pages/admin/AdminLayout.tsx @@ -22,7 +22,7 @@ export function AdminLayout() { Выйти -
+
Записи diff --git a/frontend/src/pages/admin/AdminMatchEdit.tsx b/frontend/src/pages/admin/AdminMatchEdit.tsx index 61b07b9..487f03e 100644 --- a/frontend/src/pages/admin/AdminMatchEdit.tsx +++ b/frontend/src/pages/admin/AdminMatchEdit.tsx @@ -74,23 +74,17 @@ export function AdminMatchEdit({ matchId, onClose }: { matchId: number; onClose: }; return ( + // Полноэкранная страница правки (не нижний «лист»): занимает весь экран.
-
e.stopPropagation()} - > +

Правка партии #{matchId}

diff --git a/frontend/src/styles/layout.css b/frontend/src/styles/layout.css index 2c09097..8708eb8 100644 --- a/frontend/src/styles/layout.css +++ b/frontend/src/styles/layout.css @@ -122,6 +122,19 @@ .st-player { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; } .st-player .nick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +/* Вкладки админки: горизонтальная карусель (не ломают вёрстку при переполнении) */ +.admin-tabs { + display: flex; + gap: 8px; + padding: 10px 14px; + overflow-x: auto; + flex-wrap: nowrap; + -webkit-overflow-scrolling: touch; + scrollbar-width: none; /* Firefox */ +} +.admin-tabs::-webkit-scrollbar { display: none; } /* WebKit */ +.admin-tabs > * { flex: 0 0 auto; white-space: nowrap; } + .participant-row { display: grid; grid-template-columns: 1fr;