lodthe / clickhouse-playground

On-demand ClickHouse playground
https://fiddle.clickhouse.com
Apache License 2.0
56 stars 4 forks source link

Use mono fonts for results pane #24

Closed cangyin closed 1 year ago

cangyin commented 1 year ago

Using mono fonts would be nicer for text aligning.

image

lodthe commented 1 year ago

Hmm, the font family is Roboto Mono, monospace. Probably, there are some issues with the support of this font in some browsers. Anyway, it looks nearly ugly on your screen, so the styles have to be changed.

There are short-term plans to enable SQL highlight and update the fonts in the text fields. I will check whether mono fonts will work after the update.

Could you please provide information about your browser name and version?

cangyin commented 1 year ago

chrome 110.0.5481.104

lodthe commented 1 year ago

I've updated the code editor and output viewer, and now a monospace font should be used:

image
cangyin commented 1 year ago

looks great !