fix(profile): remove gap above public profile hero
This commit is contained in:
@@ -456,7 +456,7 @@ test('profile routes load versioned leaf styles and keep dialogs hidden initiall
|
||||
// Only the two-column user center spans the viewport; the single-column public
|
||||
// profile keeps following the admin content max width.
|
||||
assert.match(frontendLayoutCss, /\.site-main\.content-shell\.aksrt-profile\s*\{[\s\S]*?max-width:\s*100%/);
|
||||
assert.match(frontendLayoutCss, /\.site-main\.content-shell\.aksrt-user-home\s*\{[\s\S]*?max-width:\s*var\(--container, 1440px\)/);
|
||||
assert.match(frontendLayoutCss, /\.site-main\.content-shell\.aksrt-user-home\s*\{[\s\S]*?max-width:\s*var\(--container, 1440px\)[\s\S]*?padding-top:\s*0/);
|
||||
// The front end enqueues build/public.min.css, not the frontend/ sources, so a
|
||||
// source-only edit never reaches the page. The bundle must carry the contract.
|
||||
assert.match(publicBundleCss, /\.site-main\.content-shell\.aksrt-profile\s*\{[\s\S]*?max-width:\s*100%/);
|
||||
|
||||
Reference in New Issue
Block a user