You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2021/01/15 22:00:54 UTC

[superset] branch master updated: fix: incorrect cursor position Firefox (#12423)

This is an automated email from the ASF dual-hosted git repository.

beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 39c6ef2  fix: incorrect cursor position Firefox (#12423)
39c6ef2 is described below

commit 39c6ef2c752059d79805aef490524cb3a75ccaf5
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