Skip to content

Commit

Permalink
fix: tab translate & home bg
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Nov 27, 2024
1 parent 8c0ab63 commit 0bcffce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default {
sortBy: 'Sort By',
rule: 'Rule',
sourceIP: 'Source IP',
activeConnections: 'Active Connections',
closedConnections: 'Closed Connections',
activeConnections: 'Active Conns',
closedConnections: 'Closed Conns',
logLevel: 'Log Level',
twoColumns: 'Two Columns',
type: 'Type',
Expand Down
6 changes: 2 additions & 4 deletions src/views/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
aria-label="close sidebar"
class="drawer-overlay"
></label>
<div
class="flex h-full flex-col gap-2 overflow-x-hidden bg-base-300/80 p-2 text-base-content"
>
<div class="flex h-full flex-col gap-2 overflow-x-hidden bg-base-200 p-2 text-base-content">
<ul class="menu w-80 flex-1 pb-0">
<li
v-for="r in routes"
Expand Down Expand Up @@ -46,7 +44,7 @@
<div
class="drawer-content fixed bottom-0 flex h-full w-full flex-col overflow-hidden md:relative md:w-auto"
>
<RouterView class="flex-1 bg-base-200/70"></RouterView>
<RouterView class="flex-1 bg-base-200/50"></RouterView>

<div class="flex h-12 w-full items-center justify-center gap-1 bg-base-200 p-1 md:hidden">
<ul class="menu menu-horizontal">
Expand Down

0 comments on commit 0bcffce

Please sign in to comment.