Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Remove badge style from superadmin name from the users page.

Kailash Nadh79f03faa870b
diff --git a/static/admin/assets/css/style.css b/static/admin/assets/css/style.css
index 1b148b22..0e78298d 100644
--- a/static/admin/assets/css/style.css
+++ b/static/admin/assets/css/style.css
@@ -1090,7 +1090,7 @@ section.campaigns {
.avatar span {
width: 20px;
height: 20px;
- font-size: 10px;
+ font-size: 0.6rem;
}
a {
diff --git a/static/admin/views/roles.html b/static/admin/views/roles.html
index eaa63b4d..46549782 100644
--- a/static/admin/views/roles.html
+++ b/static/admin/views/roles.html
@@ -40,8 +40,8 @@
<td>
<div class="name-stack">
{{ template "avatar" dict "Kind" (printf "%s-role" $d.Type) "Seed" (printf "%d" .ID) "Name" .Name }}
- <a href="{{ $base }}/{{ .ID }}" class="unstyled">
- {{- if eq .ID 1 }}{{ Badge (list (Icon "star") .Name) "enum" }}{{ else }}{{ .Name }}{{ end -}}
+ <a href="{{ $base }}/{{ .ID }}" class="unstyled" {{ if eq .ID 1 }}style="font-weight: bold"{{ end}}>
+ {{ .Name }}
</a>
</div>
</td>