mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-06-14 03:32:00 +08:00
fix: 修复设置页滚动和 HID 继电器识别 #252
This commit is contained in:
@@ -2267,8 +2267,8 @@ watch(isWindows, () => {
|
||||
<span class="sr-only">{{ t('common.menu') }}</span>
|
||||
</Button>
|
||||
</SheetTrigger>
|
||||
<SheetContent side="left" class="w-72 p-0">
|
||||
<div class="p-4 sm:p-6">
|
||||
<SheetContent side="left" class="w-72 p-0 overflow-y-auto">
|
||||
<div class="min-h-full p-4 sm:p-6">
|
||||
<h2 class="text-lg font-semibold mb-4">{{ t('settings.title') }}</h2>
|
||||
<nav class="space-y-6">
|
||||
<div v-for="group in navGroups" :key="group.title" class="space-y-1">
|
||||
@@ -2301,8 +2301,8 @@ watch(isWindows, () => {
|
||||
</div>
|
||||
|
||||
<!-- Desktop Sidebar -->
|
||||
<aside class="hidden lg:block w-64 shrink-0 border-r bg-muted/30">
|
||||
<div class="sticky top-0 p-6 space-y-6 max-h-screen overflow-y-auto">
|
||||
<aside class="hidden lg:block w-64 shrink-0 border-r bg-muted/30 overflow-hidden">
|
||||
<div class="h-full p-6 space-y-6 overflow-y-auto">
|
||||
<div class="space-y-1">
|
||||
<h1 class="text-xl font-semibold tracking-tight">{{ t('settings.title') }}</h1>
|
||||
<p class="text-xs text-muted-foreground">{{ t('settings.sidebarSubtitle') }}</p>
|
||||
|
||||
Reference in New Issue
Block a user