Skip to content

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

fix: dropdowns not visible in editor toolbar

thecodrrc4a390abae04
diff --git a/apps/web/src/components/editor/editor.css b/apps/web/src/components/editor/editor.css
index b0240dffa..950d1fb96 100644
--- a/apps/web/src/components/editor/editor.css
+++ b/apps/web/src/components/editor/editor.css
@@ -25,8 +25,6 @@
z-index: 2;
background-color: var(--background);
margin-top: -1px !important;
- max-height: 45px;
- overflow: hidden;
-webkit-transition: max-height 500ms linear;
-moz-transition: max-height 500ms linear;
@@ -35,10 +33,6 @@
transition: max-height 500ms linear;
}
-.ql-toolbar.ql-snow:hover {
- max-height: 500px;
-}
-
.ql-formats {
margin-bottom: 5px;
}
diff --git a/apps/web/src/components/editor/react-quill.js b/apps/web/src/components/editor/react-quill.js
index c36d64919..4223865dd 100644
--- a/apps/web/src/components/editor/react-quill.js
+++ b/apps/web/src/components/editor/react-quill.js
@@ -78,8 +78,8 @@ const quillModules = (isSimple, isFocusMode, isMobile) => ({
direction: moduleHandlerWrapper("direction", isSimple),
image: moduleHandlerWrapper("image", isSimple),
video: moduleHandlerWrapper("video", isSimple),
- formula: moduleHandlerWrapper("formula", isSimple),
- color: moduleHandlerWrapper("formula", isSimple),
+ //formula: moduleHandlerWrapper("formula", isSimple),
+ color: moduleHandlerWrapper("color", isSimple),
background: moduleHandlerWrapper("background", isSimple),
align: moduleHandlerWrapper("align", isSimple),
"code-block": moduleHandlerWrapper("code-block", isSimple),