Skip to content

Commit

Permalink
fix(sqllab): Fix cursor alignment in SQL lab editor by avoiding Lucid…
Browse files Browse the repository at this point in the history
…a Console font on Windows (#21380)

(cherry picked from commit 3098e65)
  • Loading branch information
MichaelHintz authored and AAfghahi committed Oct 5, 2022
1 parent fc317e0 commit 94bfe00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset-frontend/src/SqlLab/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ div.tablePopover {
border: 1px solid @gray-light;
font-feature-settings: @font-feature-settings;
// Fira Code causes problem with Ace under Firefox
font-family: 'Menlo', 'Lucida Console', 'Courier New', 'Ubuntu Mono',
'Consolas', 'source-code-pro', monospace;
font-family: 'Menlo', 'Consolas', 'Courier New', 'Ubuntu Mono',
'source-code-pro', 'Lucida Console', monospace;

&.ace_autocomplete {
// Use !important because Ace Editor applies extra CSS at the last second
Expand Down

0 comments on commit 94bfe00

Please sign in to comment.