# HG changeset patch # User Mads Kiilerich # Date 2018-01-03 03:41:21 # Node ID a385bbbae672005067acb0efc00156dc33bd5657 # Parent 4a469c7df4bbe5913071a72e9bf0606cf503be13 less: run lessc with --relative-urls so relative paths are rewritten 25e079891ff5 broke select2 - it did for example no longer display the search symbol in the input field. The css had a relative path to 'select2.png' which no longer was correct when the literal reference moved to style.css . Bootstrap had the same issue with '../fonts/glyphicons-halflings-regular.*' ... but we do not rely much on that. As a quick fix, just adjust the relative reference and keep pointing at the original location. A next step might be to copy files around in a cross platform compliant way, reliably at the right point in the development/build/install process. diff --git a/kallithea/public/less/package.json b/kallithea/public/less/package.json --- a/kallithea/public/less/package.json +++ b/kallithea/public/less/package.json @@ -9,6 +9,6 @@ "less-plugin-clean-css": "~1.5" }, "scripts": { - "less": "lessc main.less ../css/style.css" + "less": "lessc --relative-urls main.less ../css/style.css" } }