Skip to content

Commit

Permalink
Put Less into math mode 'always'
Browse files Browse the repository at this point in the history
The upgrade to v4 of Less in b154c7b
introduced some changes that broke our version of Bootstrap.
Specifically, division in `.less` files now has to be in parantheses by default.
We fixed a few instances of that in the vendored files,
but missed many others.

Instead of futzing around with these files more,
this patch referts these changes, and puts Less in a compatibility mode.
**Note**: This mode is deprecated, so this is only a temporary solution,
until we find the time and money to update Bootstrap.
  • Loading branch information
JulianKniephoff committed Dec 2, 2024
1 parent bf86e06 commit d9c27dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = function (grunt) {
syncImport: true,
compress: true,
sourceMap: true,
math: 'always',
sourceMapURL: 'style/style.css.map',
sourceMapBasepath: 'style'
},
Expand Down

0 comments on commit d9c27dd

Please sign in to comment.