put column total on its own line via flex-wrap (v1.0.5)
This commit is contained in:
@@ -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. */
|
||||
|
||||
@@ -77,7 +77,7 @@ class Plugin extends Base
|
||||
|
||||
public function getPluginVersion()
|
||||
{
|
||||
return '1.0.4';
|
||||
return '1.0.5';
|
||||
}
|
||||
|
||||
public function getPluginHomepage()
|
||||
|
||||
Reference in New Issue
Block a user