Skip to content

Commit f0e7abc

Browse files
committed
non-bool & non-numeric site setting values should wrap normally
1 parent 44a6c21 commit f0e7abc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/site_settings/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="form-caption"><%= setting.description %></div>
2828
</td>
2929
<% nowrap = setting.boolean? || setting.numeric? %>
30-
<td class="site-setting--value js-setting-value<%= ' nowrap' if nowrap %>"
30+
<td class="site-setting--value js-setting-value<%= nowrap ? ' nowrap' : ' wrap-word' %>"
3131
data-type="<%= setting.value_type %>" data-name="<%= setting.name %>"
3232
data-community-id="<%= current_page?(global_settings_path) ? nil : RequestContext.community_id %>">
3333
<%= setting.typed %>

0 commit comments

Comments
 (0)