diff --git a/frontend/.sass-lint.yml b/frontend/.sass-lint.yml
index e753c8c91..a91922a0b 100644
--- a/frontend/.sass-lint.yml
+++ b/frontend/.sass-lint.yml
@@ -8,7 +8,7 @@ rules:
clean-import-paths:
- 0
property-sort-order:
- - 0
+ - 1
indentation:
- 2
-
@@ -23,4 +23,5 @@ leading-underscore: false
files:
ignore:
- - 'app/theme/_mixins.scss'
\ No newline at end of file
+ - 'app/theme/_mixins.scss'
+ - 'node_modules/**/*.*'
\ No newline at end of file
diff --git a/frontend/app-config/webpack.config.js b/frontend/app-config/webpack.config.js
index f569ea05a..e022f7ede 100644
--- a/frontend/app-config/webpack.config.js
+++ b/frontend/app-config/webpack.config.js
@@ -25,7 +25,9 @@ const plugins = {
// https://github.com/NMFR/optimize-css-assets-webpack-plugin
OptimizeCSSAssetsPlugin: require("optimize-css-assets-webpack-plugin"),
// https://github.com/jrparish/tslint-webpack-plugin
- TsLintPlugin: require('tslint-webpack-plugin')
+ TsLintPlugin: require('tslint-webpack-plugin'),
+ // https://www.npmjs.com/package/sass-lint-webpack
+ SassLintPlugin: require('sass-lint-webpack')
};
module.exports = function (env) {
@@ -131,13 +133,18 @@ module.exports = function (env) {
plugins.MiniCssExtractPlugin.loader,
{
loader: 'css-loader'
+ }, {
+ loader: 'postcss-loader'
}]
}, {
test: /\.scss$/,
use: [{
loader: 'raw-loader'
}, {
- loader: 'sass-loader', options: {
+ loader: 'postcss-loader'
+ }, {
+ loader: 'sass-loader',
+ options: {
sassOptions: {
includePaths: [root('app', 'theme')]
}
@@ -172,6 +179,8 @@ module.exports = function (env) {
}
}),
+ new plugins.SassLintPlugin(),
+
/**
* Detect circular dependencies in app.
*
@@ -347,6 +356,8 @@ module.exports = function (env) {
plugins.MiniCssExtractPlugin.loader,
{
loader: 'css-loader'
+ }, {
+ loader: 'postcss-loader'
}, {
loader: 'sass-loader'
}],
@@ -362,6 +373,8 @@ module.exports = function (env) {
loader: 'style-loader'
}, {
loader: 'css-loader'
+ }, {
+ loader: 'postcss-loader'
}, {
loader: 'sass-loader?sourceMap'
}],
diff --git a/frontend/app/features/administration/pages/cluster/cluster-page.component.scss b/frontend/app/features/administration/pages/cluster/cluster-page.component.scss
index 240132dcf..e4e8902fd 100644
--- a/frontend/app/features/administration/pages/cluster/cluster-page.component.scss
+++ b/frontend/app/features/administration/pages/cluster/cluster-page.component.scss
@@ -3,7 +3,6 @@
iframe {
@include absolute(0, 0, 0, 0);
- min-width: 100%;
- min-height: 100%;
+ @include force-width(100%);
border: 0;
}
\ No newline at end of file
diff --git a/frontend/app/features/administration/pages/event-consumers/event-consumers-page.component.html b/frontend/app/features/administration/pages/event-consumers/event-consumers-page.component.html
index 2b7033039..a0b66ebcc 100644
--- a/frontend/app/features/administration/pages/event-consumers/event-consumers-page.component.html
+++ b/frontend/app/features/administration/pages/event-consumers/event-consumers-page.component.html
@@ -51,7 +51,7 @@