mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 11:35:14 +00:00
Improve profitpill layout
This commit is contained in:
parent
532a2ab71d
commit
483710c279
|
@ -3,7 +3,6 @@
|
|||
ref="tradesTable"
|
||||
small
|
||||
hover
|
||||
stacked="md"
|
||||
show-empty
|
||||
primary-key="botId"
|
||||
:items="tableItems"
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<template>
|
||||
<div
|
||||
class="profit-pill px-2"
|
||||
class="d-flex justify-content-center align-items-center profit-pill px-1"
|
||||
:class="isProfitable ? 'profit-pill-profit' : ''"
|
||||
:title="profitDesc"
|
||||
>
|
||||
{{ formatPercent(profitRatio, 2) }}
|
||||
<small :title="stakeCurrency">
|
||||
{{ profitRatio ? '(' : '' }}
|
||||
{{ `${formatPrice(profitAbs, 3)} ${stakeCurrency}` }}
|
||||
{{ profitRatio ? ')' : '' }}
|
||||
<small class="ml-1" :title="stakeCurrency">
|
||||
{{ profitRatio ? '(' : '' }}{{ `${formatPrice(profitAbs, 3)}`
|
||||
}}{{ profitRatio ? ')' : ` ${stakeCurrency}` }}
|
||||
</small>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue
Block a user