Fix public preference manage page's list style.

This commit is contained in:
Kailash Nadh 2023-02-26 12:36:06 +05:30
parent 7be73d59d6
commit 215aae5366
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,6 @@ input[disabled] {
.lists { .lists {
list-style-type: none; list-style-type: none;
padding: 0; padding: 0;
margin: 40px 0;
} }
.lists li { .lists li {
margin: 0 0 5px 0; margin: 0 0 5px 0;

View file

@ -32,7 +32,8 @@
<input type="text" name="name" value="{{ .Data.Subscriber.Name }}" maxlength="256" required /> <input type="text" name="name" value="{{ .Data.Subscriber.Name }}" maxlength="256" required />
{{ if .Data.Subscriptions }} {{ if .Data.Subscriptions }}
<p><label>{{ L.T "public.managePrefsUnsub" }}</label></p> <br /><br />
<h3>{{ L.T "public.managePrefsUnsub" }}</h3>
<ul class="lists"> <ul class="lists">
{{ range $i, $l := .Data.Subscriptions }} {{ range $i, $l := .Data.Subscriptions }}
{{ if ne $l.SubscriptionStatus.Value "unsubscribed" }} {{ if ne $l.SubscriptionStatus.Value "unsubscribed" }}