Full-width list/show pages and trim the admin table

List and show pages now use a wide container (max-w-7xl) while the form and
play pages keep the narrow column. The admin table drops Fen, Message, Notes,
Attempted and Solved — all already shown on the show page — so it fits
without right-overflow.

Closes #16
This commit is contained in:
2026-11-02 11:04:04 +01:00
parent 49c3cddffb
commit 7658450573
8 changed files with 36 additions and 32 deletions
@@ -13,7 +13,9 @@ defmodule ChesstrainerWeb.EndgameLive.FormTest do
test "creates an endgame with staged themes", %{conn: conn} do
theme = theme_fixture(%{name: "Lucena"})
{:ok, view, _html} = live(conn, ~p"/admin/endgames/new")
{:ok, view, html} = live(conn, ~p"/admin/endgames/new")
assert html =~ "max-w-2xl"
view |> form("#theme-form", %{theme_search: "Luc"}) |> render_change()
view |> element("button", "Lucena") |> render_click()