mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 12:42:24 -05:00
[frontend] scroll to highlighted toot, improve highlight (#885)
This commit is contained in:
parent
fe238f8595
commit
1a56352568
3 changed files with 12 additions and 4 deletions
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue