From e9ed88eee606a80827fd6d68f9a10c7cd757a75e Mon Sep 17 00:00:00 2001 From: Rob Relyea Date: Fri, 23 Jun 2023 12:40:08 -0700 Subject: [PATCH] make portfolio views less wide --- Pages/Portfolio.razor | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/Pages/Portfolio.razor b/Pages/Portfolio.razor index ed4c0a9..7849971 100644 --- a/Pages/Portfolio.razor +++ b/Pages/Portfolio.razor @@ -145,8 +145,7 @@ Portfolio@(stepPath==null?": review":": "+stepPath.Replace('-',' ')) - bogle.too Quantity Balance - % change
today - as of + Today's
Change } @foreach (var investment in familyData.GroupedInvestments) { @@ -155,17 +154,20 @@ Portfolio@(stepPath==null?": review":": "+stepPath.Replace('-',' ')) - bogle.too @formatMoney(investment.Price) @formatDoubleFourDecimal(investment.Shares) @formatMoney(investment.Value) - @formatPercent3(investment.PercentChange) - @investment.LastUpdated?.ToShortTimeString() + @formatPercent3(investment.PercentChange)@if(investment.LastUpdated!=null){
@investment.LastUpdated?.ToShortTimeString()} + } + +
+ -
@(formatMoney(familyData.Value)) -
today's change: @formatMoney(portfolioChange()) + @(formatMoney(familyData.Value)) + + + @formatMoney(portfolioChange()) - - break; @@ -186,14 +188,12 @@ Portfolio@(stepPath==null?": review":": "+stepPath.Replace('-',' ')) - bogle.too Quantity Balance - % change
today - as of } @foreach (var account in familyData.Accounts) { - @((account.Custodian != null ? account.Custodian + " ": "")+ account.Note) @account.Identifier @account.AccountType + @((account.Custodian != null ? account.Custodian + " ": "")+ account.Note) @account.Identifier @account.AccountType @foreach (var investment in account.Investments) { @@ -202,8 +202,6 @@ Portfolio@(stepPath==null?": review":": "+stepPath.Replace('-',' ')) - bogle.too @formatMoney(investment.Price) @formatDoubleFourDecimal(investment.Shares) @formatMoney(investment.Value) - @formatPercent3(investment.PercentChange) - @investment.LastUpdated?.ToShortTimeString() } } @@ -212,8 +210,6 @@ Portfolio@(stepPath==null?": review":": "+stepPath.Replace('-',' ')) - bogle.too
@(formatMoney(familyData.Value))
today's change: @formatMoney(portfolioChange()) - - break;