Skip to content

Commit

Permalink
add customSyntax property for scss to stylelint in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jackahl committed Dec 29, 2023
1 parent 732da32 commit b0bb9cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@
"**/*.overrides"
],
"customSyntax": "postcss-less"
},
{
"files": [
"**/*.scss"
],
"customSyntax": "postcss-scss"
}
],
"rules": {
Expand Down
6 changes: 3 additions & 3 deletions src/theme/_main.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//Specific styles for volto-light-theme
.block.logos .ui.stackable,
.block.logos .grid-items,
.block.logos h2.headline{
.block.logos h2.headline {
@include default-container-width();
// Adding 2 * 10px (one for each side) we force the container to extend the value of
// the gutter to match the other blocks margin.
// Adding 2 * 10px (one for each side) we force the container to extend the value of
// the gutter to match the other blocks margin.
max-width: calc(var(--default-container-width) + 2 * 10px);
}

0 comments on commit b0bb9cc

Please sign in to comment.