From c8f17511f9b603cb3dddfb0bb37d00d28986efc6 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 7 Apr 2025 18:51:31 +0100 Subject: [PATCH] Improve positioning of the list "more" button --- core/wiki/macros/inspect-filter.tid | 11 +++++++---- themes/tiddlywiki/vanilla/base.tid | 13 +++++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/core/wiki/macros/inspect-filter.tid b/core/wiki/macros/inspect-filter.tid index 709257946..241144c9c 100644 --- a/core/wiki/macros/inspect-filter.tid +++ b/core/wiki/macros/inspect-filter.tid @@ -44,10 +44,13 @@ tags: $:/tags/Macro <%if [jsonindexes[]count[]compare:number:gt] %> - <$button class="tc-btn-invisible" style.fill="inherit"> - <$action-setfield $tiddler=<> text={{{ [add[10]] }}}/> - {{$:/core/images/chevron-down}} - +
+ <$button class="tc-btn-invisible" style.fill="inherit"> + <$action-setfield $tiddler=<> text={{{ [add[10]] }}}/> + {{$:/core/images/chevron-down}} + <$text text="more"/> + +
<%endif%> diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index c1cd7d5c3..cb3d0c92f 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -3543,6 +3543,19 @@ span.tc-translink > a:first-child { padding: 0.25em; } +.tc-box-content-list-more { + font-size: 0.7em; + line-height: 1.1; + padding: 0.25em; +} + +.tc-box-content-list-more, +.tc-box-content-list-more .tc-btn-invisible { + color: var(--box-background-color); + fill: var(--box-background-color); + background-color: var(--box-foreground-color); +} + .tc-box-content-list-item:nth-child(even) { background: rgb(255, 255, 255, 0.5); }