From f277493acdaa87f4ee926fef8ebc263abc73f0fb Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Tue, 13 Jun 2023 11:22:11 +0100 Subject: [PATCH] Improved fix for #7529 The fix in cce23ac6cddbccc88a848dcc5c456e57c01b2c20 was affecting other editor dropdowns --- core/ui/EditorToolbar/link-dropdown.tid | 4 ++-- themes/tiddlywiki/vanilla/base.tid | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/core/ui/EditorToolbar/link-dropdown.tid b/core/ui/EditorToolbar/link-dropdown.tid index e2766935b..d2887a180 100644 --- a/core/ui/EditorToolbar/link-dropdown.tid +++ b/core/ui/EditorToolbar/link-dropdown.tid @@ -18,7 +18,7 @@ title: $:/core/ui/EditorToolbar/link-dropdown \define external-link() \whitespace trim -<$button class="tc-btn-invisible" style="width: auto; display: inline-block; background-colour: inherit;" actions=<>> +<$button class="tc-btn-invisible tc-btn-mini" style="width: auto; display: inline-block; background-colour: inherit;" actions=<>> {{$:/core/images/chevron-right}} \end @@ -45,7 +45,7 @@ title: $:/core/ui/EditorToolbar/link-dropdown <$reveal tag="span" state=<> type="nomatch" text=""> <> -<$button class="tc-btn-invisible" style="width: auto; display: inline-block; background-colour: inherit;"> +<$button class="tc-btn-invisible tc-btn-mini" style="width: auto; display: inline-block; background-colour: inherit;"> <><$set name="cssEscapedTitle" value={{{ [escapecss[]] }}}><$action-sendmessage $message="tm-focus-selector" $param=<>/> {{$:/core/images/close-button}} diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index a8df11bb3..dcf4a1697 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -1388,9 +1388,8 @@ html body.tc-body.tc-single-tiddler-window { height: 1.2em; } -.tc-editor-toolbar .tc-drop-down a, -.tc-editor-toolbar .tc-drop-down button { - padding: 0; +.tc-editor-toolbar .tc-drop-down button.tc-btn-mini { + padding: 2px 4px; } .tc-editor-toolbar button:hover {