zubkov-andrei / pg_profile

Postgres historic workload reports
Other
212 stars 31 forks source link

Define a font stack in report css styling #58

Open saolof opened 1 year ago

saolof commented 1 year ago

One of the main reason why the reports look a bit rough is that they use the browser default fonts, which a lot of people associate with unstyled content. Changing to a (web-safe) font stack gives it a somewhat nicer look, and in particular makes it look non-default.

Other people may have much better input on the specific font stack to use of course, but Century Gothic is a nice-looking and very readable default font in in a document where most of the text is headings & subheadings, and Consolas should be a decent monospaced sans-serif font to go with it for table data.

zubkov-andrei commented 1 year ago

Hi!

I think we'll push a new version soon. Report visualization will be completely different. We'll move to JS in reports. I think your PR should be applied to new version