fix: prevent iOS input focus zoom (#1033)

fix: prevent ios input focus zoom
This commit is contained in:
Dream Hunter
2026-05-10 02:05:31 +08:00
committed by GitHub
parent 2df4de22d9
commit 74c8e8f7e4
3 changed files with 12 additions and 0 deletions

View File

@@ -129,6 +129,16 @@ onMounted(async () => {
margin-left: 10px;
margin-right: 10px;
}
@media (hover: none) and (pointer: coarse) and (max-width: 1024px) {
:where(input, textarea, select, [contenteditable="true"]) {
font-size: 16px !important;
}
:where(.n-input, .n-input-number, .n-base-selection, .n-input-group-label) {
--n-font-size: 16px !important;
}
}
</style>
<style scoped>