Skip to content

Commit

Permalink
use responsive classes for graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Jan 5, 2025
1 parent 78531a3 commit a5e5e8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/panel/ThrottleSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@
</div>
</div>
</div>
<div class="column is-6" style="height: 30vw">
<div class="column is-6">
<LineChart
:title="'Throttle'"
:labels="plot.labels"
:axis="plot.axis"
class="image is-fullwidth is-4by3"
></LineChart>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Perf.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
v-for="(counter, index) in perf.counters"
:key="'counter' + index"
class="column is-6 my-3"
style="height: 35vw"
>
<RealtimePlot
:title="counter.name"
:axis="Object.keys(counter).slice(1)"
:input="counter"
class="image is-fullwidth is-4by3"
></RealtimePlot>
</div>
</div>
Expand Down

0 comments on commit a5e5e8b

Please sign in to comment.