diff --git a/src/lib/SnackBar/styles.css b/src/lib/SnackBar/styles.css index 9966e9f9..c1ece455 100644 --- a/src/lib/SnackBar/styles.css +++ b/src/lib/SnackBar/styles.css @@ -22,7 +22,6 @@ snack-bar { transform-origin: center; color: #eee; z-index: 100; - pointer-events: none; cursor: default; will-change: transform; animation: snackbar-show 300ms ease forwards 1; @@ -75,7 +74,6 @@ snack-bar { font-size: 100%; text-transform: uppercase; text-align: center; - pointer-events: all; cursor: pointer; overflow: hidden; transition: background-color 200ms ease; diff --git a/webpack.config.js b/webpack.config.js index 2fc90964..716421a6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -108,7 +108,7 @@ module.exports = function (_, env) { loader: 'typings-for-css-modules-loader', options: { modules: true, - localIdentName: '[local]__[hash:base64:5]', + localIdentName: isProd ? '[hash:base64:5]' : '[local]__[hash:base64:5]', namedExport: true, camelCase: true, importLoaders: 1, @@ -202,6 +202,7 @@ module.exports = function (_, env) { cssProcessorOptions: { zindex: false, discardComments: { removeAll: true } + counterStyle: false, } }),