Skip to content

Commit

Permalink
fix(webui): adjust navigation drawer for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Jan 28, 2025
1 parent c4a4278 commit a44135d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
5 changes: 2 additions & 3 deletions komga-webui/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@
"locale_name": "English",
"locale_rtl": "false",
"lock_all": "Lock all",
"media": "Media",
"n_selected": "{count} selected",
"nothing_to_show": "Nothing to show",
"ok": "OK",
Expand All @@ -271,6 +272,7 @@
"roles": "Roles",
"save_changes": "Save changes",
"series": "Series | Series",
"settings": "Settings",
"sidecars": "Sidecars",
"tags": "Tags",
"unavailable": "Unavailable",
Expand Down Expand Up @@ -875,9 +877,6 @@
"status": "Status",
"url": "URL"
},
"media_management": {
"title": "Media Management"
},
"menu": {
"add_to_collection": "Add to collection",
"add_to_readlist": "Add to read list",
Expand Down
23 changes: 13 additions & 10 deletions komga-webui/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<v-divider/>

<v-list nav shaped>
<v-list nav shaped dense>
<v-list-item :to="{name: 'dashboard'}">
<v-list-item-icon>
<v-icon>mdi-home</v-icon>
Expand Down Expand Up @@ -134,7 +134,7 @@
</v-badge>
</template>
<template v-slot:activator>
<v-list-item-title>{{ $t('media_management.title') }}</v-list-item-title>
<v-list-item-title>{{ $t('common.media') }}</v-list-item-title>
</template>

<v-list-item :to="{name: 'media-analysis'}">
Expand Down Expand Up @@ -199,15 +199,15 @@
</v-badge>
</template>
<template v-slot:activator>
<v-list-item-title>{{ $t('server_settings.server_settings') }}</v-list-item-title>
<v-list-item-title>{{ $t('server.tab_title') }}</v-list-item-title>
</template>

<v-list-item :to="{name: 'settings-users'}">
<v-list-item-title>{{ $t('users.users') }}</v-list-item-title>
</v-list-item>

<v-list-item :to="{name: 'settings-server'}">
<v-list-item-title>{{ $t('server.tab_title') }}</v-list-item-title>
<v-list-item-title>{{ $t('common.settings') }}</v-list-item-title>
</v-list-item>

<v-list-item :to="{name: 'metrics'}">
Expand Down Expand Up @@ -271,27 +271,30 @@

<v-divider/>

<v-list>
<v-list dense class="mt-2">
<v-list-item>
<v-list-item-icon>
<v-icon>{{ themeIcon }}</v-icon>
</v-list-item-icon>
<v-select
class="py-2"
dense
v-model="theme"
:items="themes"
:label="$t('home.theme')"
></v-select>
</v-list-item>
</v-list>

<v-list>
<v-list-item>
<v-list-item-icon>
<v-icon>mdi-translate</v-icon>
</v-list-item-icon>
<v-select v-model="locale"
:items="locales"
:label="$t('home.translation')"
<v-select
dense
class="py-2"
v-model="locale"
:items="locales"
:label="$t('home.translation')"
>
</v-select>
</v-list-item>
Expand Down

0 comments on commit a44135d

Please sign in to comment.