diff --git a/Asset/css/finance.css b/Asset/css/finance.css index a47e00e..4bcecd5 100644 --- a/Asset/css/finance.css +++ b/Asset/css/finance.css @@ -2,19 +2,20 @@ * FinanceBuddy styles. */ -/* Per-column net total: its own full-width line under the column title (clears the right-floated - task count), so a wide amount never overflows the column. Keep the background pill (theme-safe - contrast). "Total:" is black; only the amount span is colored by sign. */ +/* The column header (.board-column-expanded-header) is a flex row, so the total is a flex item. To + drop it onto its own line under the title, let that header wrap (scoped with :has to headers that + actually contain the total -- i.e. enabled boards only) and give the total full width. No + background (dropped per request); "Total:" stays black, only the amount span is colored by sign. */ +.board-column-expanded-header:has(.fb-column-total) { + flex-wrap: wrap; +} + .fb-column-total { - display: block; - clear: both; - margin-top: 3px; - padding: 0 5px; + flex-basis: 100%; + margin-top: 2px; font-weight: bold; font-size: 0.95em; color: #000; - background: rgba(0, 0, 0, 0.05); - border-radius: 3px; } /* Keep the signed amount together ("-R$450,00"); a break before it (after "Total:") is fine. */ diff --git a/Plugin.php b/Plugin.php index c384578..f81e8ef 100644 --- a/Plugin.php +++ b/Plugin.php @@ -77,7 +77,7 @@ class Plugin extends Base public function getPluginVersion() { - return '1.0.4'; + return '1.0.5'; } public function getPluginHomepage() diff --git a/VERSION b/VERSION index de68dd3..6c77403 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -FinanceBuddy v1.0.4 +FinanceBuddy v1.0.5