fix: make horizontal scrollbars sticky to bottom

This commit is contained in:
Simon 2026-05-07 13:08:21 +02:00
parent 01acea6838
commit 3d6081e024
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
5 changed files with 115 additions and 1 deletions

View file

@ -78,6 +78,18 @@ defmodule MvWeb.MemberLive.IndexTest do
assert html =~ "lg:top-0"
assert html =~ "bg-base-100"
end
test "members page does not nest a second overflow wrapper inside members-table-scroll", %{
conn: conn
} do
conn = conn_with_oidc_user(conn)
{:ok, _view, html} = live(conn, ~p"/members")
assert html =~ ~s(id="members-keyboard")
assert html =~ ~s(class="overflow-visible")
refute html =~ ~s(id="members-keyboard" class="overflow-x-auto")
refute html =~ ~s(id="members-keyboard" class="overflow-auto")
end
end
describe "translations" do