From 8a923700426f9b074333b96ebfd9fe4bf3a9b996 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 2 Feb 2026 17:57:30 +0200 Subject: [PATCH] fix(mobile/custom_note_actions): missing separator --- apps/client/src/widgets/ribbon/NoteActionsCustom.css | 4 ++++ apps/client/src/widgets/ribbon/NoteActionsCustom.tsx | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 apps/client/src/widgets/ribbon/NoteActionsCustom.css 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";