From 73e32a58e70ab9ba9f275f6f540e984b9be012d5 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Wed, 9 Mar 2022 01:01:58 -0800 Subject: [PATCH] client: add spacing to top/bottom of Documents --- client/components/document/index.tsx | 88 ++++++++++++++------------- client/components/header/controls.tsx | 7 +-- client/pages/index.tsx | 1 - 3 files changed, 48 insertions(+), 48 deletions(-) diff --git a/client/components/document/index.tsx b/client/components/document/index.tsx index 32b273aa..b0b11503 100644 --- a/client/components/document/index.tsx +++ b/client/components/document/index.tsx @@ -1,4 +1,4 @@ -import { Button, ButtonGroup, Card, Input, Tabs, Textarea } from "@geist-ui/core" +import { Button, ButtonGroup, Card, Input, Spacer, Tabs, Textarea } from "@geist-ui/core" import { ChangeEvent, FormEvent, memo, useEffect, useReducer, useRef, useState } from "react" import styles from './document.module.css' import MarkdownPreview from '../preview' @@ -40,48 +40,52 @@ const Document = ({ remove, editable, title, content, setTitle, setContent, init } return ( - -
- ) => setTitle ? setTitle(event.target.value) : null} - marginTop="var(--gap-double)" - size={1.2} - font={1.2} - label="Filename" - disabled={!editable} - width={"100%"} - /> - {remove && editable &&
-
- {tab === 'edit' && editable && } - - - {/* */} -
- */} +
+