diff --git a/apps/client/src/widgets/layout/Breadcrumb.css b/apps/client/src/widgets/layout/Breadcrumb.css
index 572392757..8edebbe68 100644
--- a/apps/client/src/widgets/layout/Breadcrumb.css
+++ b/apps/client/src/widgets/layout/Breadcrumb.css
@@ -57,7 +57,7 @@
.bxs-chevron-right {
transform: translateY(8%);
-
+
&::before {
opacity: .75;
}
@@ -87,7 +87,7 @@
color: var(--custom-color, inherit) !important;
}
- .dropdown .breadcrumb-child-list {
+ .dropdown.breadcrumb-child-list {
/* Icon */
li > span:first-child {
opacity: .75;
diff --git a/apps/client/src/widgets/layout/Breadcrumb.tsx b/apps/client/src/widgets/layout/Breadcrumb.tsx
index 24ad806ae..08ded7c6b 100644
--- a/apps/client/src/widgets/layout/Breadcrumb.tsx
+++ b/apps/client/src/widgets/layout/Breadcrumb.tsx
@@ -193,7 +193,7 @@ function BreadcrumbSeparator(props: BreadcrumbSeparatorProps) {
noSelectButtonStyle
buttonClassName="icon-action"
hideToggleArrow
- dropdownContainerClassName="tn-dropdown-menu-scrollable"
+ dropdownContainerClassName="tn-dropdown-menu-scrollable breadcrumb-child-list"
dropdownOptions={{ popperConfig: { strategy: "fixed", placement: "top" } }}
>
@@ -207,7 +207,7 @@ function BreadcrumbSeparatorDropdownContent({ notePath, noteContext, activeNoteP
const childNotes = useChildNotes(parentNoteId);
return (
-
+ <>
{childNotes.map((note) => {
if (note.noteId === "_hidden") return;
if (hideArchivedNotes && note.isArchived) return null;
@@ -231,7 +231,7 @@ function BreadcrumbSeparatorDropdownContent({ notePath, noteContext, activeNoteP
icon="bx bx-plus"
onClick={() => note_create.createNote(notePath, { activate: true })}
>{t("breadcrumb.create_new_note")}
-
+ >
);
}
@@ -244,26 +244,25 @@ function BreadcrumbCollapsed({ items, noteContext }: {
text={}
noSelectButtonStyle
buttonClassName="icon-action"
+ dropdownContainerClassName="breadcrumb-child-list"
hideToggleArrow
dropdownOptions={{ popperConfig: { strategy: "fixed" } }}
>
-
- {items.map((notePath) => {
- const notePathComponents = notePath.split("/");
- const noteId = notePathComponents[notePathComponents.length - 1];
- const note = froca.getNoteFromCache(noteId);
- if (!note) return null;
+ {items.map((notePath) => {
+ const notePathComponents = notePath.split("/");
+ const noteId = notePathComponents[notePathComponents.length - 1];
+ const note = froca.getNoteFromCache(noteId);
+ if (!note) return null;
- return -
- noteContext?.setNote(notePath)}
- >
- {note.title}
-
-
;
- })}
-
+ return
+ noteContext?.setNote(notePath)}
+ >
+ {note.title}
+
+ ;
+ })}
);
}
diff --git a/apps/client/src/widgets/react/FormList.tsx b/apps/client/src/widgets/react/FormList.tsx
index 84cc4d8c6..9c32e8878 100644
--- a/apps/client/src/widgets/react/FormList.tsx
+++ b/apps/client/src/widgets/react/FormList.tsx
@@ -205,7 +205,10 @@ export function FormListHeader({ text }: FormListHeaderOpts) {
}
export function FormDropdownDivider() {
- return ;
+ return e.stopPropagation()}
+ />;
}
export function FormDropdownSubmenu({ icon, title, children, dropStart, onDropdownToggleClicked }: {