Added spacing between values and units in the inventory

closes #44 closes #60
This commit is contained in:
Stefan Zermatten
2017-04-25 17:12:34 +02:00
parent b4649d8c87
commit 2a9d170647
4 changed files with 13 additions and 13 deletions

View File

@@ -28,9 +28,9 @@
<template name="containerView">
<div class="layout horizontal wrap center justified">
<table class="summaryTable fullwidth">
<tr><td>Container</td><td>{{round weight}}lbs</td><td>{{longValueString value}}</td></tr>
<tr><td>Contents</td><td>{{round contentsWeight}}lbs</td><td>{{longValueString contentsValue}}</td></tr>
<tr class="paper-font-body2"><td>Total</td><td>{{round totalWeight}}lbs</td><td>{{longValueString totalValue}}</td></tr>
<tr><td>Container</td><td>{{round weight}} lbs</td><td>{{longValueString value}}</td></tr>
<tr><td>Contents</td><td>{{round contentsWeight}} lbs</td><td>{{longValueString contentsValue}}</td></tr>
<tr class="paper-font-body2"><td>Total</td><td>{{round totalWeight}} lbs</td><td>{{longValueString totalValue}}</td></tr>
</table>
</div>
{{#if description}}

View File

@@ -57,7 +57,7 @@
{{valueString equipmentValue}}
</div>
<div class="paper-font-caption">
{{round equipmentWeight}}lbs
{{round equipmentWeight}} lbs
</div>
</div>
<div flex class="bottom list">
@@ -87,7 +87,7 @@
{{valueString carriedValue}}
</div>
<div class="paper-font-caption">
{{round carriedWeight}}lbs
{{round carriedWeight}} lbs
</div>
</div>
<div flex class="bottom list">
@@ -108,7 +108,7 @@
{{valueString totalValue}}
</div>
<div class="paper-font-caption" style="margin-right: 8px">
{{round totalWeight}}lbs
{{round totalWeight}} lbs
</div>
<div>
<paper-checkbox class="carriedCheckbox"

View File

@@ -10,7 +10,7 @@
<template name="itemDetails">
<div class="paper-font-headline layout horizontal wrap center justified">
{{#if weight}}<div class="sideMargin">{{round totalWeight}}lbs</div>{{/if}}
{{#if weight}}<div class="sideMargin">{{round totalWeight}} lbs</div>{{/if}}
{{#if value}}<div>{{valueString totalValue}}</div>{{/if}}
</div>
<div class="paper-font-caption layout horizontal wrap">