Skip to content

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

fix: use a cleaner style for title input in toolbar

thecodrr59185dac9b37
diff --git a/apps/web/src/components/editor/toolbar.js b/apps/web/src/components/editor/toolbar.js
index 15b7463e6..6d7bedc1c 100644
--- a/apps/web/src/components/editor/toolbar.js
+++ b/apps/web/src/components/editor/toolbar.js
@@ -168,6 +168,7 @@ function Toolbar(props) {
}}
/>
<AnimatedInput
+ variant="clean"
ml={[2, 2, 0]}
initial={{
opacity: isTitleVisible ? 1 : 0,
@@ -191,11 +192,11 @@ function Toolbar(props) {
sx={{
p: 0,
borderWidth: 0,
- borderRadius: 0,
+ borderRadius: "default",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
overflow: "hidden",
- ":focus": { borderWidth: 0 },
+ ":focus": { bg: "bgSecondary" },
}}
/>
</Flex>