悬停在自动填充建议上时输入的文本非常小 [英] Input text very small when hovering on autofill suggestion

查看:21
本文介绍了悬停在自动填充建议上时输入的文本非常小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 MacOS 上的 Google Chrome(版本 75.0.3770.142)中,当我将鼠标悬停在自动填充建议上时,输入中的字体大小变得非常小(字体系列也会发生变化),但在选择建议后,它会恢复到正常大小.

In Google Chrome on MacOS (Version 75.0.3770.142) when I hover over an autofill suggestion the font size in the input becomes very small (also the font family changes) but after choosing the suggestion it goes back to the normal size.

可能导致这种行为的原因是什么?

What might be causing this behaviour?

推荐答案

有一个解决方案:

input:-webkit-autofill::first-line {font-size: 16px}

这篇关于悬停在自动填充建议上时输入的文本非常小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆