Merge pull request #263 from djbadders/develop
Fixed TCV for sales analyser and tweaked font size for tables
This commit is contained in:
commit
d6279b745d
|
@ -161,7 +161,7 @@ namespace Monitor.Pages
|
||||||
double AvailableBalance = PTData.GetCurrentBalance();
|
double AvailableBalance = PTData.GetCurrentBalance();
|
||||||
foreach (Core.Main.DataObjects.PTMagicData.DCALogData dcaLogEntry in PTData.DCALog)
|
foreach (Core.Main.DataObjects.PTMagicData.DCALogData dcaLogEntry in PTData.DCALog)
|
||||||
{
|
{
|
||||||
totalCurrentValue = totalCurrentValue + ((dcaLogEntry.Amount * dcaLogEntry.CurrentPrice) / dcaLogEntry.Leverage);
|
totalCurrentValue = totalCurrentValue + ((dcaLogEntry.Amount * dcaLogEntry.CurrentPrice) / dcaLogEntry.Leverage != 0 ? dcaLogEntry.Leverage : 1);
|
||||||
}
|
}
|
||||||
totalCurrentValue = totalCurrentValue + AvailableBalance;
|
totalCurrentValue = totalCurrentValue + AvailableBalance;
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,13 +132,13 @@ a:active {
|
||||||
.table {
|
.table {
|
||||||
color : white;
|
color : white;
|
||||||
font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-size : 12px;
|
font-size : 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If the screen size is 400px wide or less, set the font-size of <div> to 30px */
|
/* If the screen size is 400px wide or less, set the font-size of <div> to 30px */
|
||||||
@media screen and (max-width: 400px) {
|
@media screen and (max-width: 400px) {
|
||||||
.table {
|
.table {
|
||||||
font-size: 10px;
|
font-size: 9px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue