Skip to content

Build your personal knowledge base with Trilium Notes

fix(mobile/custom_note_actions): missing separator

Elian Doran8a923700426f
diff --git a/apps/client/src/widgets/ribbon/NoteActionsCustom.css b/apps/client/src/widgets/ribbon/NoteActionsCustom.css
new file mode 100644
index 0000000000..e0ad0eb8fb
--- /dev/null
+++ b/apps/client/src/widgets/ribbon/NoteActionsCustom.css
@@ -0,0 +1,4 @@
+body.mobile .note-actions-custom:not(:empty) {
+ margin-bottom: calc(var(--bs-dropdown-divider-margin-y) * 2);
+ border-top: 1px solid var(--bs-dropdown-divider-bg);
+}
diff --git a/apps/client/src/widgets/ribbon/NoteActionsCustom.tsx b/apps/client/src/widgets/ribbon/NoteActionsCustom.tsx
index 4438561ec2..3a64e8c9c5 100644
--- a/apps/client/src/widgets/ribbon/NoteActionsCustom.tsx
+++ b/apps/client/src/widgets/ribbon/NoteActionsCustom.tsx
@@ -1,3 +1,5 @@
+import "./NoteActionsCustom.css";
+
import { NoteType } from "@triliumnext/commons";
import { useContext, useEffect, useRef, useState } from "preact/hooks";