This is an automated email from the ASF dual-hosted git repository.
erikrit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 052d7a0 fix: sql lab autocomplete width (#11063)
052d7a0 is described below
commit 052d7a0a3ea717ec1ecb85e2c1e4365a670c4094
Author: Erik Ritter <[email protected]>
AuthorDate: Fri Sep 25 10:13:21 2020 -0700
fix: sql lab autocomplete width (#11063)
---
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 8f259f9..957677a 100644
--- a/superset-frontend/src/SqlLab/main.less
+++ b/superset-frontend/src/SqlLab/main.less
@@ -423,7 +423,9 @@ div.tablePopover {
font-family: @font-family-monospace;
&.ace_autocomplete {
- width: 520px;
+ // Use !important because Ace Editor applies extra CSS at the last second
+ // when opening the autocomplete.
+ width: 520px !important;
}
}