From e221e20a82411dabc4d6c21172f0c68badc64364 Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Thu, 28 Jan 2021 19:31:25 +0200 Subject: Remove unnecessary separator from sent form return home button --- src/pages/FormPage.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/pages/FormPage.tsx') diff --git a/src/pages/FormPage.tsx b/src/pages/FormPage.tsx index 36ca86f..abb008f 100644 --- a/src/pages/FormPage.tsx +++ b/src/pages/FormPage.tsx @@ -13,7 +13,7 @@ import ScrollToTop from "../components/ScrollToTop"; import { Form, FormFeatures, getForm } from "../api/forms"; import colors from "../colors"; -import { unselectable, containerStyles, separatorStyles, returnStyles } from "../commonStyles"; +import { unselectable, containerStyles, returnStyles } from "../commonStyles"; import { Question, QuestionType } from "../api/question"; import ApiClient from "../api/client"; @@ -27,6 +27,15 @@ interface NavigationProps { } class Navigation extends React.Component { + separatorStyles = css` + height: 0; + display: none; + + @media (max-width: 850px) { + display: block; + } + `; + submitStyles = css` text-align: right; white-space: nowrap; @@ -121,7 +130,6 @@ function FormPage(): JSX.Element {
Return Home
-
); -- cgit v1.2.3