diff options
author | r <r@freesoftwareextremist.com> | 2020-09-22 04:21:39 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-09-22 04:21:39 +0000 |
commit | 79d4ff4b08f249ce69ed4291d937a50165ed0b86 (patch) | |
tree | d6dfa551aaccf73d92f2424908f8d4bf1a48a47b /templates/notification.tmpl | |
parent | 7a59d010f6d07bcfb074e60f1f06b002c4bf7b74 (diff) | |
download | bloat-79d4ff4b08f249ce69ed4291d937a50165ed0b86.tar.gz bloat-79d4ff4b08f249ce69ed4291d937a50165ed0b86.zip |
Update CSS
Now it's mostly CSS 2.1 compliant. All the images now use the height
attribute to limit the size on browsers that don't support CSS.
Diffstat (limited to 'templates/notification.tmpl')
-rw-r--r-- | templates/notification.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 227bc57..2943847 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -19,13 +19,13 @@ {{range .Notifications}} <div class="notification-container {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}"> {{if eq .Type "follow"}} - <div class="notification-follow-container"> + <div> <div class="status-profile-img-container"> <a class="img-link" href="/user/{{.Account.ID}}"> - <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="profile-avatar" /> + <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="profile-avatar" height="48" /> </a> </div> - <div> + <div class="notification-follow"> <div class="notification-info-text"> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span> followed you </span> @@ -45,7 +45,7 @@ {{else if eq .Type "reblog"}} <div class="retweet-info"> <a class="img-link" href="/user/{{.Account.ID}}"> - <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" /> + <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" height="48" /> </a> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span> retweeted your post </span> @@ -58,7 +58,7 @@ {{else if eq .Type "favourite"}} <div class="retweet-info"> <a class="img-link" href="/user/{{.Account.ID}}"> - <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" /> + <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" height="48" /> </a> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span> liked your post </span> |