You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/01/25 13:11:37 UTC
[superset] 01/38: fix: incorrect cursor position Firefox (#12423)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch 1.0
in repository https://gitbox.apache.org/repos/asf/superset.git
commit bc1a2a2258a9cf5e01bdf1bf883e8132c2e55740
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Fri Jan 15 14:00:23 2021 -0800
fix: incorrect cursor position Firefox (#12423)
* fix: incorrect cursor position Firefox
* Use different font
* Fix lint
* Use Lucida Console
---
superset-frontend/src/SqlLab/main.less | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/superset-frontend/src/SqlLab/main.less b/superset-frontend/src/SqlLab/main.less
index 0b21fe5..d839faa 100644
--- a/superset-frontend/src/SqlLab/main.less
+++ b/superset-frontend/src/SqlLab/main.less
@@ -378,7 +378,9 @@ div.tablePopover {
//double class is better than !important
border: 1px solid @gray-light;
font-feature-settings: @font-feature-settings;
- font-family: @font-family-monospace;
+ // Fira Code causes problem with Ace under Firefox
+ font-family: 'Menlo', 'Lucida Console', 'Courier New', 'Ubuntu Mono',
+ 'Consolas', 'source-code-pro', monospace;
&.ace_autocomplete {
// Use !important because Ace Editor applies extra CSS at the last second