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: replace border with boxshadow for focus indication
thecodrre7bb4fcdd968
diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.jsindex 1ea567812..0f6f076d5 100644--- a/apps/web/src/components/list-item/index.js+++ b/apps/web/src/components/list-item/index.js@@ -88,7 +88,7 @@ const ItemSelector = ({ isSelected, toggleSelection }) => {function ListItem(props) {const {- colors: { text, primary, background } = {+ colors: { text, background } = {primary: "primary",text: "text",background: "background",@@ -158,8 +158,8 @@ function ListItem(props) {height: "inherit",cursor: "pointer",position: "relative",- borderLeft: isFocused ? "3px solid" : "none",- borderLeftColor: primary,+ boxShadow: isFocused ? "5px 2px 0px -2px var(--primary) inset" : "none",+ transition: "box-shadow 200ms ease-in",":hover": {backgroundColor: "hover",},