Skip to content

Commit

Permalink
Disable mergeRules on cssnano
Browse files Browse the repository at this point in the history
  • Loading branch information
mizunashi-mana committed Apr 21, 2019
1 parent fabf47b commit a233641
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 3 additions & 6 deletions frontend/main.scss
Expand Up @@ -135,12 +135,10 @@ ul.social {
height: 0;
margin: 5px;
position: absolute;
border-width: 5px;
border-style: solid;
border-color: #ffffff;
border: 5px solid #ffffff;
overflow: hidden;

::after {
&::after {
content: "";
position: absolute;
width: 5px;
Expand All @@ -152,7 +150,7 @@ ul.social {
}
}

[x-placement^="bottom"] {
&[x-placement^="bottom"] {
margin-top: 5px;

.tooltip-arrow {
Expand All @@ -166,7 +164,6 @@ ul.social {
}
}


.footnote-tooltip-content {
padding: 4px 10px;
}
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.js
Expand Up @@ -35,7 +35,11 @@ module.exports = {
options: {
plugins: function () {
return [
require('cssnano'),
require('cssnano')({
preset: ['default', {
mergeRules: false,
}]
}),
require('precss'),
require('autoprefixer')
];
Expand Down

0 comments on commit a233641

Please sign in to comment.