You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2022/01/09 15:45:32 UTC

[superset] branch master updated: chore: fixing annoying warning about escaping in Emotion styling (#17972)

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

rusackas 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 fecb6d9  chore: fixing annoying warning about escaping in Emotion styling (#17972)
fecb6d9 is described below

commit fecb6d91c09bd9adad703e5ef8b8cfa6793e34dc
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Sun Jan 9 08:44:17 2022 -0700

    chore: fixing annoying warning about escaping in Emotion styling (#17972)
    
    * chore: fixing annoying warning about escaping in Emotion styling
    
    * linting :sparkles:
---
 superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx
index dea29e6..507cc60 100644
--- a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx
+++ b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx
@@ -44,7 +44,8 @@ NVD3.propTypes = {
 };
 
 export default styled(NVD3)`
-  .superset-legacy-chart-nvd3-dist-bar, .superset-legacy-chart-nvd3-bar {
+  .superset-legacy-chart-nvd3-dist-bar,
+  .superset-legacy-chart-nvd3-bar {
     overflow-x: auto !important;
     svg {
       &.nvd3-svg {
@@ -165,7 +166,7 @@ export default styled(NVD3)`
     padding: 8px;
     color: #fff;
     &:after {
-      content: '\25BC';
+      content: '\\25BC';
       font-size: ${({ theme }) => theme.typography.sizes.m};
       color: #484848;
       position: absolute;