From e6f8dc7a384f3654ca6f0dcee915a187502e7980 Mon Sep 17 00:00:00 2001 From: Saku Laesvuori Date: Thu, 22 Jan 2026 21:48:35 +0200 Subject: [PATCH] Unify filtering style rules --- hledger-web/static/hledger.css | 4 ++-- hledger-web/templates/journal.hamlet | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hledger-web/static/hledger.css b/hledger-web/static/hledger.css index c8c5c77d7..d69a45b70 100644 --- a/hledger-web/static/hledger.css +++ b/hledger-web/static/hledger.css @@ -191,11 +191,11 @@ ul { max-width: 10em; } -.tag-name a, .transaction-code a { +a.filter { color: inherit; } -.tag-name a:hover, .transaction-code a { +a:hover.filter { text-decoration: underline dotted; } diff --git a/hledger-web/templates/journal.hamlet b/hledger-web/templates/journal.hamlet index 40970341a..d10c39ce2 100644 --- a/hledger-web/templates/journal.hamlet +++ b/hledger-web/templates/journal.hamlet @@ -25,7 +25,7 @@ $if elem AddPermission perms
$if not $ T.null $ tcode torig
- + (#{tcode torig}) $if not $ T.null $ T.strip payee @@ -41,7 +41,7 @@ $if elem AddPermission perms $forall (tagName, tagValue) <- filter isVisibleTag $ ttags torig
  • - + #{tagName} $if not $ T.null $ T.strip tagValue
    @@ -71,7 +71,7 @@ $if elem AddPermission perms $forall (tagName, tagValue) <- filter (isPostingTag acc) $ filter isVisibleTag tags
  • - + #{tagName} $if not $ T.null $ T.strip tagValue