Profile: two columns on wide screens

The account and its security (sign-on, two-factor, sessions) on the left,
calendar, certificates, this device and integrations on the right; one
column on phones. The account form gets a title like the other cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-14 12:10:32 -05:00
1 parent e199e6feeb
commit faae719b12
3 files changed
+148 -129

No files matched your search

+9
View File
@@ -92,4 +92,13 @@ class WorkflowPolishTest < ActionDispatch::IntegrationTest
assert_select "dl > div.detail-row > dt", minimum: 6
assert_select "dl dd.col-span-3", 0
end
test "the profile is two columns on a wide screen: the account and its security, then the rest" do
sign_in @owner
get edit_profile_path
assert_select "div.max-w-5xl > div", 2
assert_select "div.max-w-5xl > div:first-child h2", text: "Account"
assert_select "div.max-w-5xl > div:first-child #two-factor"
assert_select "div.max-w-5xl > div:last-child #device"
end
end