diff --git a/packages/frontend/src/components/MkColorInput.vue b/packages/frontend/src/components/MkColorInput.vue
index 118aeeeb37..536ed934ff 100644
--- a/packages/frontend/src/components/MkColorInput.vue
+++ b/packages/frontend/src/components/MkColorInput.vue
@@ -11,6 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
ref="inputEl"
v-model="v"
v-adaptive-border
+ class="mk-input-color"
:class="$style.inputCore"
type="color"
:disabled="disabled"
diff --git a/packages/frontend/src/components/MkDrive.vue b/packages/frontend/src/components/MkDrive.vue
index 083d1b58fd..d795466482 100644
--- a/packages/frontend/src/components/MkDrive.vue
+++ b/packages/frontend/src/components/MkDrive.vue
@@ -90,7 +90,7 @@ SPDX-License-Identifier: AGPL-3.0-only