From 499a273df85ffd332b2b5723ce18ae7e326f08c8 Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Thu, 29 Oct 2026 22:00:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E6=81=A2=E5=A4=8D=20HID=20OTG=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E8=AE=BE=E7=BD=AE=E4=B8=A4=E5=88=97=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/styles/settings.css | 10 ----- web/src/views/SettingsView.vue | 70 +++++++++++++++++++--------------- 2 files changed, 39 insertions(+), 41 deletions(-) diff --git a/web/src/styles/settings.css b/web/src/styles/settings.css index 3029283a..490bebaf 100644 --- a/web/src/styles/settings.css +++ b/web/src/styles/settings.css @@ -454,16 +454,6 @@ flex-direction: column; gap: 14px; } -.settings-page .hid-feature-card [data-slot='card-content'] .rounded-md.border:not([data-slot]) { - padding: 0; - border: 0; - border-radius: 0; - border-bottom: 1px solid var(--border); - padding-bottom: 20px; -} -.settings-page .hid-feature-card [data-slot='card-content'] .md\:grid-cols-2 { - grid-template-columns: 1fr; -} .settings-page .hid-feature-card [data-slot='card-content'] > .space-y-4 > div:first-child { display: none; } diff --git a/web/src/views/SettingsView.vue b/web/src/views/SettingsView.vue index 287452fa..615a90a1 100644 --- a/web/src/views/SettingsView.vue +++ b/web/src/views/SettingsView.vue @@ -3045,23 +3045,29 @@ watch(isWindows, () => {

{{ t('settings.otgHidProfile') }}

-
-
-
+
+
+
-
+
-
+
@@ -3072,31 +3078,33 @@ watch(isWindows, () => {
-
-
- + +
+ +
-

- {{ t('settings.mouseMacosDragRequiresBoth') }} -

-
-
- - -
-
+
@@ -3104,7 +3112,7 @@ watch(isWindows, () => {
-
+
{ placeholder="/etc/one-kvm/msd" />
-
+
@@ -3123,7 +3131,7 @@ watch(isWindows, () => { maxlength="28" />
-
+
@@ -3137,7 +3145,7 @@ watch(isWindows, () => {
-
+
@@ -3145,8 +3153,8 @@ watch(isWindows, () => {
-
-
+
+
@@ -3161,7 +3169,7 @@ watch(isWindows, () => {
-
+