diff --git a/superset-frontend/images/icons/error_solid_small_red.svg b/superset-frontend/images/icons/error_solid_small_red.svg new file mode 100644 index 00000000000..294394a7225 --- /dev/null +++ b/superset-frontend/images/icons/error_solid_small_red.svg @@ -0,0 +1,22 @@ + + + + + diff --git a/superset-frontend/stylesheets/superset.less b/superset-frontend/stylesheets/superset.less index 2143fccf368..f1058dbdca0 100644 --- a/superset-frontend/stylesheets/superset.less +++ b/superset-frontend/stylesheets/superset.less @@ -586,3 +586,7 @@ input[type='radio']:checked:after { hr { border-top: 1px solid @gray-light; } +.ace_gutter-cell.ace_error { + background-image: url('../images/icons/error_solid_small_red.svg') !important; + background-position: -2px center !important; +} diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index 51e7eb285eb..31446d5031b 100644 --- a/superset-frontend/webpack.config.js +++ b/superset-frontend/webpack.config.js @@ -386,6 +386,9 @@ const config = { { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'file-loader', + options: { + esModule: false, + }, }, ], },