From 376ef0c67989b9af46f290d57009f082ebd6f527 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 21 Sep 2025 12:01:27 +0300 Subject: [PATCH] chore(react/type_widgets): introduce disabled tooltip --- apps/client/src/stylesheets/style.css | 2 +- .../widgets/buttons/attachments_actions.ts | 21 ------------------- apps/client/src/widgets/react/FormList.tsx | 15 ++++++++----- .../src/widgets/type_widgets/Attachment.tsx | 10 +++++++++ 4 files changed, 21 insertions(+), 27 deletions(-) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index f6f07684f..ce477135c 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -408,7 +408,7 @@ body.desktop .tabulator-popup-container { .dropdown-menu .disabled .disabled-tooltip { pointer-events: all; margin-left: 8px; - font-size: 0.5em; + font-size: 0.75rem; color: var(--disabled-tooltip-icon-color); cursor: help; opacity: 0.75; diff --git a/apps/client/src/widgets/buttons/attachments_actions.ts b/apps/client/src/widgets/buttons/attachments_actions.ts index 20c3db8b8..280e318bd 100644 --- a/apps/client/src/widgets/buttons/attachments_actions.ts +++ b/apps/client/src/widgets/buttons/attachments_actions.ts @@ -15,9 +15,6 @@ import type { NoteRow } from "@triliumnext/commons"; const TPL = /*html*/`