Skip to content

Commit

Permalink
fix: settings style
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Dec 26, 2024
1 parent a94ec61 commit ba9483d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/sidebar/StatisticsInfo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="grid grid-cols-2 gap-1">
<div class="grid w-full grid-cols-2 gap-1 rounded-lg">
<div>{{ $t('connections') }}: {{ activeConnections.length }}</div>
<div>{{ $t('memoryUsage') }}: {{ prettyBytesHelper(memory, { binary: true }) }}</div>
<div>{{ $t('download') }}: {{ prettyBytesHelper(downloadTotal) }}</div>
Expand Down
6 changes: 2 additions & 4 deletions src/views/SettingsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,8 @@
{{ $t('statistics') }}
</div>
<div class="card-body gap-4">
<div class="grid grid-cols-1 gap-2 lg:grid-cols-2">
<div class="card flex items-center justify-start bg-base-200/40 p-4">
<StatisticsInfo class="h-20 w-full" />
</div>
<div class="grid grid-cols-1 gap-2 lg:grid-cols-2 3xl:grid-cols-4">
<StatisticsInfo class="bg-base-200/40 p-4" />
<SpeedCharts />
<MemoryCharts />
<ConnectionsCharts />
Expand Down

0 comments on commit ba9483d

Please sign in to comment.