diff --git a/src/components/form_input/index.module.scss b/src/components/form_input/index.module.scss index 2beb20b1..1c4c2615 100644 --- a/src/components/form_input/index.module.scss +++ b/src/components/form_input/index.module.scss @@ -18,6 +18,10 @@ transition: all 0.3s ease-in-out; width: calc(100% - 36px); + &.fullWidth { + width: 100%; + } + &:focus { border-color: $color-indigo-2; } diff --git a/src/components/form_input/index.tsx b/src/components/form_input/index.tsx index 0bdd2e72..9552e631 100644 --- a/src/components/form_input/index.tsx +++ b/src/components/form_input/index.tsx @@ -1,9 +1,18 @@ import * as styles from "./index.module.scss"; -type Props = React.InputHTMLAttributes; +type Props = React.InputHTMLAttributes & { + fullWidth?: boolean; +}; -const FormInput = ({ className, ...props }: Props) => ( - +const FormInput = ({ className, fullWidth, ...props }: Props) => ( + ); export default FormInput; diff --git a/src/screens/about/index.module.scss b/src/screens/about/index.module.scss index f6967818..e9d4cbed 100644 --- a/src/screens/about/index.module.scss +++ b/src/screens/about/index.module.scss @@ -79,20 +79,6 @@ $card-desc-shadow: } } -.container { - display: flex; - flex-direction: column; - gap: 184px; - margin: 0 auto; - max-width: $breakpoint-desktop; - - @include down-laptop { - gap: 40px; - max-width: 100%; - padding: 0 12px; - } -} - .sectionStack { align-items: center; color: $color-forbole-blue-1; diff --git a/src/screens/about/index.tsx b/src/screens/about/index.tsx index 2459752a..941c4da3 100644 --- a/src/screens/about/index.tsx +++ b/src/screens/about/index.tsx @@ -10,6 +10,7 @@ import Horse from "@src/components/icons/horse.svg"; import Layout from "@src/components/layout"; import ScrollToTop from "@src/components/scroll_to_top"; import { ImgBox, YTBSwiperCSS } from "@src/screens/about/SwiperCSS"; +import * as commonStyles from "@src/styles/common.module.scss"; import { IS_E2E } from "@src/utils/e2e"; import * as styles from "./index.module.scss"; @@ -70,7 +71,7 @@ const About = () => { redBgFooter title={t("page_title")} > -
+

{t("headercard_title")}

@@ -177,7 +178,7 @@ const About = () => {
-
+
{ return ( -
+
{t("form_title")} @@ -97,6 +98,7 @@ const Contact = () => { * { {t("label_company")} { * { {t("label_telegram")} - + {t("get_start")} * diff --git a/src/screens/developer_tools/index.module.scss b/src/screens/developer_tools/index.module.scss index e9d091e5..661fc0f6 100644 --- a/src/screens/developer_tools/index.module.scss +++ b/src/screens/developer_tools/index.module.scss @@ -1,16 +1,5 @@ @import "src/styles/sass.scss"; -.container { - display: flex; - flex-direction: column; - gap: 184px; - max-width: $breakpoint-desktop; - - @include down-laptop { - gap: 40px; - } -} - .ctaStack { flex-direction: row; gap: 16px; diff --git a/src/screens/developer_tools/index.tsx b/src/screens/developer_tools/index.tsx index 8f2aa3d1..666a3044 100644 --- a/src/screens/developer_tools/index.tsx +++ b/src/screens/developer_tools/index.tsx @@ -13,6 +13,7 @@ import Section from "@src/components/section"; import SignatureCard from "@src/components/signature-card"; import SuccessModal from "@src/components/success-modal"; import { useDelayedIsMobile } from "@src/hooks/delayed_is_mobile"; +import * as commonStyles from "@src/styles/common.module.scss"; import useTalkModalForm from "./hooks"; import * as styles from "./index.module.scss"; @@ -72,7 +73,7 @@ const DeveloperTools = () => { footer title={t("page_title")} > - + { return ( -
+