aboutsummaryrefslogtreecommitdiff
path: root/templates/status.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-09-22 04:21:39 +0000
committerr <r@freesoftwareextremist.com>2020-09-22 04:21:39 +0000
commit79d4ff4b08f249ce69ed4291d937a50165ed0b86 (patch)
treed6dfa551aaccf73d92f2424908f8d4bf1a48a47b /templates/status.tmpl
parent7a59d010f6d07bcfb074e60f1f06b002c4bf7b74 (diff)
downloadbloat-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/status.tmpl')
-rw-r--r--templates/status.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl
index de0909b..7d510e2 100644
--- a/templates/status.tmpl
+++ b/templates/status.tmpl
@@ -3,7 +3,7 @@
{{if .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="24" />
</a>
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
retweeted
@@ -15,7 +15,7 @@
<div class="status-container status-{{.ID}}" data-id="{{.ID}}">
<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="avatar" />
+ <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" height="48" />
</a>
</div>
<div class="status">
@@ -81,7 +81,7 @@
<a href="{{.URL}}" target="_blank" title="{{.Description}}"> [image] </a>
{{else}}
<a class="img-link" href="{{.URL}}" target="_blank" title="{{.Description}}">
- <img class="status-image" src="{{.URL}}" alt="status-image" />
+ <img class="status-image" src="{{.URL}}" alt="status-image" height="240" />
{{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
<div class="status-nsfw-overlay"></div>
{{end}}
@@ -103,7 +103,7 @@
<a href="{{.URL}}" target="_blank" title="{{.Description}}"> [video] </a>
{{else}}
<div class="status-video-container" title="{{.Description}}">
- <video class="status-video" controls>
+ <video class="status-video" controls height="240">
<source src="{{.URL}}">
<a href="{{.URL}}" target="_blank"> [video] </a>
</video>
@@ -211,7 +211,7 @@
{{end}}
</a>
</div>
- <div class="status-action">
+ <div class="status-action status-action-last">
<a class="status-time" href="{{if not .ShowReplies}}/thread/{{.ID}}{{end}}#status-{{.ID}}"
{{if $.Ctx.ThreadInNewTab}}target="_blank"{{end}}>
<time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">