Altair: The font in query editor and result should be monospaced

Created on 1 Mar 2018  路  5Comments  路  Source: imolorhe/altair

Expected Behavior

As the issue title speaks.

Current Behavior

The .dark-theme .query-editor-container pre has font-family set to inherit, where the .dark-theme .query-editor-container inherits font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif; from body. So was the .dark-theme .query-result-container pre.

Possible Solution

Change the font-family of .dark-theme .query-editor-container pre and .dark-theme .query-result-container pre to monospace.

Most helpful comment

For those checking, you can set the font family for the editor in the settings "theme.editorFontFamily": "monospace, san-serif, Arial"

All 5 comments

@balthild I personally prefer it with the current font. I could create another theme with monospaced fonts.

That is the intended behavior.

Alright. I have thought it's done accidentally.

No. But there could be a theme for that.

For those checking, you can set the font family for the editor in the settings "theme.editorFontFamily": "monospace, san-serif, Arial"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

XAKEPEHOK picture XAKEPEHOK  路  8Comments

trafficfox picture trafficfox  路  8Comments

benhutton picture benhutton  路  10Comments

jedwards1211 picture jedwards1211  路  9Comments

Vinlock picture Vinlock  路  8Comments