diff --git a/apps/scandic-web/components/Forms/Edit/Profile/FormContent/formContent.module.css b/apps/scandic-web/components/Forms/Edit/Profile/FormContent/formContent.module.css index dbff73546..7c6b646da 100644 --- a/apps/scandic-web/components/Forms/Edit/Profile/FormContent/formContent.module.css +++ b/apps/scandic-web/components/Forms/Edit/Profile/FormContent/formContent.module.css @@ -1,3 +1,13 @@ +.container { + display: grid; + grid-template-columns: 1fr; + gap: var(--Space-x4); + + @media (min-width: 768px) { + grid-template-columns: 1fr 1fr; + } +} + .password, .user { align-self: flex-start; @@ -7,7 +17,7 @@ container-type: inline-size; } -.container { +.sharedRow { display: grid; gap: var(--Space-x2); grid-template-columns: minmax(100px, 164px) 1fr; @@ -20,7 +30,7 @@ } @container addressContainer (max-width: 350px) { - .container { + .sharedRow { grid-template-columns: 1fr; } } diff --git a/apps/scandic-web/components/Forms/Edit/Profile/FormContent/index.tsx b/apps/scandic-web/components/Forms/Edit/Profile/FormContent/index.tsx index 1e06c4c0b..e66cc52f0 100644 --- a/apps/scandic-web/components/Forms/Edit/Profile/FormContent/index.tsx +++ b/apps/scandic-web/components/Forms/Edit/Profile/FormContent/index.tsx @@ -31,7 +31,7 @@ export default function FormContent({ errors }: { errors: FieldErrors }) { const languageOptions = getLocalizedLanguageOptions(lang) return ( - <> +