From 9f03204e2c9ecc11c6f9afbd53ba94257ddb0c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Thu, 9 Mar 2023 18:11:03 +0100 Subject: [PATCH] scss to css --- app/models/communication/extranet/with_style.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/communication/extranet/with_style.rb b/app/models/communication/extranet/with_style.rb index f3d5e22a2..cb8709cd2 100644 --- a/app/models/communication/extranet/with_style.rb +++ b/app/models/communication/extranet/with_style.rb @@ -8,6 +8,6 @@ module Communication::Extranet::WithStyle protected def generate_css - self.css = SassC::Sass2Scss.convert sass + self.css = SassC::Engine.new(sass, syntax: :sass, style: :compressed).render end end \ No newline at end of file -- GitLab