mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-13 02:54:26 +08:00
feat: 优化 UI 样式
This commit is contained in:
@@ -2712,7 +2712,7 @@ watch(isWindows, () => {
|
||||
<SidebarMenuButton
|
||||
:is-active="activeSection === item.id"
|
||||
:tooltip="item.label"
|
||||
class="h-10 px-3 text-foreground"
|
||||
class="h-10 px-3 text-foreground data-[active=true]:bg-primary data-[active=true]:text-primary-foreground data-[active=true]:shadow-sm data-[active=true]:hover:bg-primary data-[active=true]:hover:text-primary-foreground"
|
||||
@click="selectSection(item.id)"
|
||||
>
|
||||
<component :is="item.icon" />
|
||||
@@ -3269,7 +3269,6 @@ watch(isWindows, () => {
|
||||
<div class="flex items-center justify-between gap-4">
|
||||
<div>
|
||||
<Label>{{ t('settings.otgFunctionKeyboard') }}</Label>
|
||||
<p class="text-xs text-muted-foreground">{{ t('settings.otgFunctionKeyboardDesc') }}</p>
|
||||
</div>
|
||||
<Switch v-model="config.hid_otg_functions.keyboard" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user