Skip to content

Commit ad045c7

Browse files
committed
fix(css): Adjust split layout width
Because: * Not having an explicit width on the split layout content is causing content sizing variations depending on how long the headline is This commit: * Adds an explicit width at desktop and above and moves padding/margin inward to better match the existing .card component fixes FXA-12794
1 parent 4b411e7 commit ad045c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/fxa-settings/src/components/AppLayout

packages/fxa-settings/src/components/AppLayout/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ export const AppLayout = ({
187187
}
188188
/>
189189
<div className="mobileLandscape:items-center tablet:flex-1 tablet:bg-white tablet:ml-auto flex flex-col flex-1">
190-
<main className="py-8 px-6 tablet:px-10 mobileLandscape:py-9 flex justify-center items-center flex-1">
191-
<section className="max-w-120">
190+
<main className="flex justify-center items-center flex-1">
191+
<section className="max-w-120 desktop:w-120 px-8 py-8">
192192
{loading ? (
193193
<LoadingSpinner className="h-full flex items-center" />
194194
) : (

0 commit comments

Comments
 (0)