Relocate slider values

This commit is contained in:
Cmdr McDonald
2017-02-26 21:22:53 +00:00
parent 2fb3ee8cd8
commit f4e5254832
3 changed files with 3 additions and 12 deletions

View File

@@ -125,7 +125,7 @@ export default class EngineProfile extends TranslatedComponent {
/>
{ship.cargoCapacity ?
<span>
<h3>{translate('cargo carried')}</h3>
<h3>{translate('cargo carried')}: {formats.int(cargo)}{units.T}</h3>
<table style={{ width: '100%', lineHeight: '1em', backgroundColor: 'transparent' }}>
<tbody >
<tr>
@@ -140,9 +140,6 @@ export default class EngineProfile extends TranslatedComponent {
onResize={onWindowResize}
/>
</td>
<td className='primary' style={{ width: '5em', verticalAlign: 'top', fontSize: '0.9em', textAlign: 'left' }}>
{formats.int(cargo)}{units.T}
</td>
</tr>
</tbody>
</table>

View File

@@ -126,7 +126,7 @@ export default class FSDProfile extends TranslatedComponent {
/>
{ship.cargoCapacity ?
<span>
<h3>{translate('cargo carried')}</h3>
<h3>{translate('cargo carried')}: {formats.int(cargo)}{units.T}</h3>
<table style={{ width: '100%', lineHeight: '1em', backgroundColor: 'transparent' }}>
<tbody >
<tr>
@@ -141,9 +141,6 @@ export default class FSDProfile extends TranslatedComponent {
onResize={onWindowResize}
/>
</td>
<td className='primary' style={{ width: '5em', verticalAlign: 'top', fontSize: '0.9em', textAlign: 'left' }}>
{formats.int(cargo)}{units.T}
</td>
</tr>
</tbody>
</table>

View File

@@ -102,7 +102,7 @@ export default class JumpRange extends TranslatedComponent {
points={200}
code={code}
/>
<h3>{translate('fuel carried')}</h3>
<h3>{translate('fuel carried')}: {formats.f2(fuelLevel * ship.fuelCapacity)}{units.T}</h3>
<table style={{ width: '100%', lineHeight: '1em', backgroundColor: 'transparent' }}>
<tbody >
<tr>
@@ -117,9 +117,6 @@ export default class JumpRange extends TranslatedComponent {
onResize={onWindowResize}
/>
</td>
<td className='primary' style={{ width: '10em', verticalAlign: 'top', fontSize: '0.9em', textAlign: 'left' }}>
{formats.f2(fuelLevel * ship.fuelCapacity)}{units.T} {formats.pct1(fuelLevel)}
</td>
</tr>
</tbody>
</table>