From 8fea4f74ed1e98db835f35be3cbb3735233e0346 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 1 Aug 2020 21:29:59 -0500 Subject: [Feature, UI] Add settings to customize CSS of profile pages and web app --- app/views/layouts/application.html.haml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/views/layouts/application.html.haml') diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index aa3c560cb..f3f29f43e 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -39,6 +39,9 @@ - if Setting.custom_css.present? = stylesheet_link_tag custom_css_path, media: 'all' + + - if current_account&.user&.setting_style_css_webapp.present? + = stylesheet_link_tag user_webapp_css_path(current_account.id), media: 'all' - if current_account&.user&.setting_style_dashed_nest :css @@ -63,6 +66,8 @@ { text-decoration: none; } + + = yield :header_overrides %body{ class: body_classes } = content_for?(:content) ? yield(:content) : yield -- cgit