mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
FEATURE: support SCSS in custom email style
In the CSS tab of Admin > Customize > Email Style, SCSS can now be used.
This commit is contained in:
@ -36,7 +36,7 @@ module Email
|
||||
def custom_styles
|
||||
return @custom_styles unless @custom_styles.nil?
|
||||
|
||||
css = EmailStyle.new.css
|
||||
css = EmailStyle.new.compiled_css
|
||||
@custom_styles = {}
|
||||
|
||||
if !css.blank?
|
||||
|
Reference in New Issue
Block a user