Skip to content

Commit 67e6a3b

Browse files
committed
fix for mobile
1 parent f35f619 commit 67e6a3b

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

components/auth/ProfileTypeModal.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ModalProps } from "react-bootstrap"
2-
import { Button, Col, Row, Modal, Stack, Image } from "../bootstrap"
2+
import { Button, Col, Modal, Stack, Image } from "../bootstrap"
33
import styled from "styled-components"
44
import { useTranslation } from "next-i18next"
55
import { useFlags } from "../featureFlags"
@@ -57,11 +57,7 @@ export default function ProfileTypeModal({
5757
<Col md={12} className="mx-auto">
5858
<Stack gap={4} direction="vertical">
5959
<h2>{t("registerAs")}</h2>
60-
<Stack
61-
gap={4}
62-
direction="horizontal"
63-
className="align-items-stretch"
64-
>
60+
<div className="d-flex flex-column flex-md-row align-items-stretch gap-4">
6561
<StyledButton
6662
type="button"
6763
variant="secondary"
@@ -105,7 +101,7 @@ export default function ProfileTypeModal({
105101
<p>{t("legislatorDescription")}</p>
106102
</StyledButton>
107103
)}
108-
</Stack>
104+
</div>
109105
<p>{t("orgVetting")}</p>
110106
</Stack>
111107
<hr />

0 commit comments

Comments
 (0)