diff options
author | 2022-10-03 20:35:43 +0200 | |
---|---|---|
committer | 2022-10-03 20:35:43 +0200 | |
commit | 1a56352568c64e2b91c52b52579d3e7f53b7015c (patch) | |
tree | cf8ceee4e8eb8e9e1938122f83d9353feca09e92 /web/template | |
parent | [frontend] change spacing of status, text always on it's own line, move statu... (diff) | |
download | gotosocial-1a56352568c64e2b91c52b52579d3e7f53b7015c.tar.xz |
[frontend] scroll to highlighted toot, improve highlight (#885)
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/thread.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/template/thread.tmpl b/web/template/thread.tmpl index 334bd8a9f..09f3e06c7 100644 --- a/web/template/thread.tmpl +++ b/web/template/thread.tmpl @@ -2,15 +2,15 @@ <main> <div data-nosnippet class="thread"> {{range .context.Ancestors}} - <div class="toot"> + <div class="toot" id="{{.ID}}"> {{ template "status.tmpl" .}} </div> {{end}} - <div class="toot expanded"> + <div class="toot expanded" id="{{.status.ID}}"> {{ template "status.tmpl" .status}} </div> {{range .context.Descendants}} - <div class="toot"> + <div class="toot" id="{{.ID}}"> {{ template "status.tmpl" .}} </div> {{end}} |