Spec coverage for custom css endpoint (#28706)
This commit is contained in:
parent
b86083f0dc
commit
7801db7ba4
3 changed files with 76 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
<%- if Setting.custom_css.present? %>
|
||||
<%= raw Setting.custom_css %>
|
||||
<%- if custom_css_styles.present? %>
|
||||
<%= raw custom_css_styles %>
|
||||
|
||||
<%- end %>
|
||||
<%- UserRole.where(highlighted: true).select { |role| role.color.present? }.each do |role| %>
|
||||
<%- @user_roles.each do |role| %>
|
||||
.user-role-<%= role.id %> {
|
||||
--user-role-accent: <%= role.color %>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue