Skip to content

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

feat: make editor toolbar collapsible

thecodrr0241a2f6253c
diff --git a/apps/web/src/components/editor/editor.css b/apps/web/src/components/editor/editor.css
index abd862beb..14894163c 100644
--- a/apps/web/src/components/editor/editor.css
+++ b/apps/web/src/components/editor/editor.css
@@ -25,6 +25,18 @@
z-index: 999;
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;
+ -o-transition: max-height 500ms linear;
+ -ms-transition: max-height 500ms linear;
+ transition: max-height 500ms linear;
+}
+
+.ql-toolbar.ql-snow:hover {
+ max-height: 500px;
}
.ql-formats {