Skip to content

Node.js based forum software built for the modern web

refactor: make custom user field icons fixed width in the acp

Barış Soner Uşaklı2ded68139691
diff --git a/src/views/admin/manage/users/custom-fields.tpl b/src/views/admin/manage/users/custom-fields.tpl
index b16a0bd754..d58f528bb9 100644
--- a/src/views/admin/manage/users/custom-fields.tpl
+++ b/src/views/admin/manage/users/custom-fields.tpl
@@ -33,7 +33,7 @@
<a href="#" component="sort/handle" class="btn btn-light btn-sm d-none d-md-block ui-sortable-handle" style="cursor:grab;"><i class="fa fa-arrows-up-down text-muted"></i></a>
</td>
<td class="text-nowrap">{./key}</td>
- <td class="text-nowrap">{{{ if ./icon }}}<i class="text-muted {./icon}"></i> {{{ end }}}{./name}</td>
+ <td class="text-nowrap">{{{ if ./icon }}}<i class="text-muted fa-fw {./icon}"></i> {{{ end }}}{./name}</td>
<td>
{./type}
{{{ if ((./type == "select") || (./type == "select-multi")) }}}