aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-07-10 23:50:02 +0100
committerrubenwardy <rw@rubenwardy.com>2020-07-10 23:50:02 +0100
commitdd86fb0e14fa2c290b8cfa81418580f42062400f (patch)
treeb6f8eddcd97b5191697c321d2ee11eee3df27f2b
parentb483d5413f309a0e152fe509e49b95cecc38c950 (diff)
downloadcheatdb-dd86fb0e14fa2c290b8cfa81418580f42062400f.tar.xz
Fix profile picture alignment in notifications page
-rw-r--r--app/templates/notifications/list.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/templates/notifications/list.html b/app/templates/notifications/list.html
index 8aab3ee..61f884a 100644
--- a/app/templates/notifications/list.html
+++ b/app/templates/notifications/list.html
@@ -18,16 +18,16 @@ Notifications
{% for n in current_user.notifications %}
<a class="list-group-item list-group-item-action" href="{{ n.url }}">
<div class="row">
- <div class="col-sm-auto">
+ <div class="col-sm">
{{ n.title}}
</div>
- <div class="col-sm text-muted text-right">
+ <div class="col-sm-auto text-muted text-right">
+ <span class="pr-1">{{ n.causer.display_name }}</span>
<img
class="img-responsive user-photo img-thumbnail img-thumbnail-1"
style="max-height: 22px;"
src="{{ n.causer.getProfilePicURL() }}" />
- <span class="pl-1">{{ n.causer.display_name }}</span>
</div>
</div>
</a>