Fix size of clickable area in quotes

This commit is contained in:
Zed
2019-06-24 22:54:56 +02:00
parent 38565e2e1f
commit d864cf95bc
2 changed files with 10 additions and 16 deletions

View File

@@ -76,9 +76,9 @@ proc linkUser*(profile: Profile; class=""): string =
result = a(text, href = href, class = class, title = text)
if not username and profile.verified:
result &= span("", class="verified-icon", title="Verified account")
result &= span("", class="icon verified-icon", title="Verified account")
if not username and profile.protected:
result &= span("🔒", class="protected-icon", title="Protected account")
result &= span("🔒", class="icon protected-icon", title="Protected account")
proc pageTitle*(profile: Profile): string =
&"{profile.fullname} (@{profile.username}) | Nitter"