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: layout jump on item selection
thecodrr9411b841aeac
diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.jsindex 3fe3f5a67..09dd7db17 100644--- a/apps/web/src/components/list-item/index.js+++ b/apps/web/src/components/list-item/index.js@@ -103,15 +103,15 @@ function ListItem(props) {borderLeft: "5px solid",borderLeftColor: isFocused ? primary : "transparent",transition: "box-shadow 200ms ease-in",- borderTop: isMenuTarget ? `1px solid var(--${primary})` : "none",- borderBottom: isMenuTarget ? `1px solid var(--${primary})` : "none",+ outline: isMenuTarget ? `1px solid var(--${primary})` : "none",+ // borderBottom: isMenuTarget ? `1px solid var(--${primary})` : "none",":hover": {backgroundColor: isSelected ? "shade" : "hover",},":focus,:focus-visible": {- outline: "none",- borderTop: `1px solid var(--${primary})`,- borderBottom: `1px solid var(--${primary})`,+ // outline: "none",+ outline: `1px solid var(--${primary})`,+ // outline: `1px solid var(--${primary})`,},overflow: "hidden",maxWidth: "100%",