Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ui: minor optimizations

thecodrra2d841b40e40
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index 3dc8b4662..92340c347 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -84,7 +84,7 @@ function Editor() {
sx={{
display: "flex",
alignItems: "center",
- marginTop: 2,
+ marginTop: dateEdited || text.length || id.length ? 0 : 2,
marginBottom: dateEdited || text.length || id.length ? 2 : 0
}}
>
diff --git a/apps/web/src/components/search/index.js b/apps/web/src/components/search/index.js
index 1c57a0296..2e9062083 100644
--- a/apps/web/src/components/search/index.js
+++ b/apps/web/src/components/search/index.js
@@ -16,7 +16,7 @@ const Search = props => (
>
<Input
id="searchInput"
- variant="search"
+ variant="default"
name="search"
placeholder={props.placeholder}
onChange={props.onChange}