Move scrolbar into card

This commit is contained in:
Matthias 2020-05-08 07:14:55 +02:00
parent f87a2d6bd3
commit bfbdb3ff3e
3 changed files with 33 additions and 32 deletions

View File

@ -1,6 +1,7 @@
<template> <template>
<div class="card"> <div class="card">
<div class="card-header">{{ title }}</div> <div class="card-header">{{ title }}</div>
<div class="card-body">
<table v-if="trades" class="table table-sm table-hover"> <table v-if="trades" class="table table-sm table-hover">
<thead> <thead>
<tr> <tr>
@ -30,6 +31,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
</template> </template>
<script> <script>

View File

@ -80,12 +80,12 @@ export default {
</script> </script>
<style scoped> <style scoped>
.open-trades { .scrollpanel .open-trades {
max-height: 300px; max-height: 300px;
overflow-y: scroll; min-height: 250px;
} }
.trade-history { .trade-history {
max-height: 300px;
max-height: 500px; max-height: 500px;
overflow-y: scroll;
} }
</style> </style>

View File

@ -39,7 +39,6 @@ export default {
state.profit = profit; state.profit = profit;
}, },
updateState(state, botState) { updateState(state, botState) {
console.log(botState);
state.botState = botState; state.botState = botState;
}, },
}, },