Improve log layout

This commit is contained in:
Matthias 2020-08-31 20:01:21 +02:00
parent 0cc5c73c2e
commit 28b8aee404
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,7 @@
<template>
<div class="container-fluid mt-2">
<label class="mr-auto h3">Logs</label>
<b-button class="float-right mr-4" size="sm" @click="getLogs">&#x21bb;</b-button>
<textarea v-model="formattedLogs" readonly></textarea>
<div class="d-flex h-100 p-0 align-items-start">
<textarea v-model="formattedLogs" class="h-100" readonly></textarea>
<b-button size="sm" @click="getLogs">&#x21bb;</b-button>
</div>
</template>
@ -39,5 +37,6 @@ export default class LogViewer extends Vue {
textarea {
width: 100%;
min-height: 6em;
resize: none;
}
</style>

View File

@ -23,6 +23,7 @@ export default class DraggableContainer extends Vue {
padding: 0.25rem 0.5rem;
}
.card-body {
padding: 0.25rem 0 0 0.25rem;
/* Padding should be controled by the contained element */
padding: 0;
}
</style>