Sublime Forum

How do I set font size for documentation hover?

#1

I changed my font and font size, but now the Documentation Hover is much larger than all other content in my editor. How can I change that font size?

Screenshot%20from%202022-09-09%2009-29-29

Thanks!

0 Likes

#2

I found that if I create a Packages/User/mdpopups.css file and override font-size there, then I can make things look proper:

html {
    --mdpopups-font-mono: "Input Mono";
    font-size: 11pt;
}
0 Likes

#3

fwiw, https://lsp.sublimetext.io/customization/#hover-popups

0 Likes

#4

normal popups and those created by mdpopups pick up font size from editor by default.

Maybe your color scheme defines a popup_css with some custom settings? Not sure what else might mess with popup CSS stuff globally.

0 Likes