A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: many ui inconsistencies
thecodrr46ea30fab4d5
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.jsindex 9ae37f0fa..7d9ae0aef 100644--- a/apps/web/src/components/editor/index.js+++ b/apps/web/src/components/editor/index.js@@ -72,7 +72,6 @@ function Editor() {} = editorstore.get().session;const { quill } = quillRef.current;- console.log(quill);quill.setContents(data, "init");// quill.history.clear();quill.history.stack = {diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.jsindex 1df9a24d8..881f70e75 100644--- a/apps/web/src/components/list-item/index.js+++ b/apps/web/src/components/list-item/index.js@@ -164,7 +164,6 @@ function ListItem(props) {{props.menuItems && (<Icon.MoreVerticalsize={22}- sx={{ marginRight: [3, 2, 0] }}color="icon"onClick={(event) => openContextMenu(event, menuItems, true)}/>diff --git a/apps/web/src/components/scroll-container/index.js b/apps/web/src/components/scroll-container/index.jsindex 889a24369..7102006fe 100644--- a/apps/web/src/components/scroll-container/index.js+++ b/apps/web/src/components/scroll-container/index.js@@ -1,5 +1,6 @@import React from "react";import RSC from "react-scrollbars-custom";+import { Text } from "rebass";const ScrollContainer = ({children,@@ -17,6 +18,14 @@ const ScrollContainer = ({const scrollTrackY = document.querySelector(".scrollTrackY");if (scrollTrackY) scrollTrackY.style.opacity = 1;}}+ onTouchStart={() => {+ const scrollTrackY = document.querySelector(".scrollTrackY");+ if (scrollTrackY) scrollTrackY.style.opacity = 1;+ }}+ onTouchEnd={() => {+ const scrollTrackY = document.querySelector(".scrollTrackY");+ if (scrollTrackY) scrollTrackY.style.opacity = 0;+ }}onMouseLeave={(e) => {if (e.nativeEvent.buttons > 0) return;const scrollTrackY = document.querySelector(".scrollTrackY");@@ -30,6 +39,7 @@ const ScrollContainer = ({style: {height: "100%",width: 8,+ zIndex: 2,top: 0,opacity: 0,transition: "opacity 150ms linear",@@ -37,11 +47,26 @@ const ScrollContainer = ({}}scrollerProps={{renderer: (props) => {- const { elementRef, onScroll: rscOnScroll, ...restProps } = props;+ const {+ elementRef,+ onScroll: rscOnScroll,+ style,+ ...restProps+ } = props;return (- <span+ <Text+ as="span"{...restProps}+ style={{+ ...style,+ marginRight: 0,+ }}+ sx={{+ scrollbarWidth: "none",+ "::-webkit-scrollbar": { width: 0, height: 0 },+ msOverflowStyle: "none",+ }}onScroll={(e) => {if (onScroll) onScroll(e);rscOnScroll(e);