Skip to content

Commit 35d6c0d

Browse files
committed
[ui] Move debug button to corner
1 parent 2a156fc commit 35d6c0d

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

ui/src/components/Debug.vue

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<template>
2-
<div>
3-
<b-btn v-b-toggle.collapse1 variant="primary">Debug Info</b-btn>
2+
<div class="debug">
43
<b-collapse id="collapse1" class="mt-2">
54
<b-card>
65
<pre class="card-text" style="text-align: left">{{ latestMessage }}</pre>
76
</b-card>
87
</b-collapse>
8+
<b-btn v-b-toggle.collapse1 variant="primary">Debug Info</b-btn>
99
</div>
1010
</template>
1111

@@ -21,5 +21,17 @@
2121
</script>
2222

2323
<style scoped>
24+
.debug {
25+
position: absolute;
26+
bottom: 0;
27+
}
2428
29+
#collapse1 {
30+
overflow-y: scroll;
31+
max-height: 500px;
32+
}
33+
34+
button {
35+
margin: 0.1em;
36+
}
2537
</style>

0 commit comments

Comments
 (0)