From 72518e20ee625f89da2bbc6e9cd20de2fd2b738c Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Mon, 24 Feb 2020 10:09:22 -0800 Subject: [PATCH] forcing fixed width fonts on ace editor (fixes #9095) (#9183) * forcing fixed width fonts on ace editor * making styles global (for sql editors outside SqlLab * prettier --- superset-frontend/src/SqlLab/main.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/superset-frontend/src/SqlLab/main.less b/superset-frontend/src/SqlLab/main.less index 707670891..1c6d1ec7d 100644 --- a/superset-frontend/src/SqlLab/main.less +++ b/superset-frontend/src/SqlLab/main.less @@ -366,6 +366,11 @@ div.tablePopover { border: 1px solid @gray-light; } +.ace_editor, +.ace_editor div { + font-family: @font-family-monospace; +} + .Select-menu-outer { min-width: 100%; width: inherit;