Make end-of-feed indicator look better

This commit is contained in:
Alessio 2024-01-03 21:18:00 -06:00
parent 0e965eadc4
commit e300a882e4
2 changed files with 7 additions and 1 deletions

View File

@ -417,6 +417,12 @@ ul.quick-links {
/* not for nested (i.e., quoted) tweets */
border-bottom: 1px solid var(--color-twitter-off-white-dark);
}
.timeline .eof-indicator {
text-align: center;
color: var(--color-twitter-text-gray);
font-size: 1.2em;
margin: 1em 0;
}
.top-bar {
display: flex;

View File

@ -3,7 +3,7 @@
{{template "tweet" .}}
{{end}}
{{if .CursorBottom.CursorPosition.IsEnd}}
<p>End of feed</p>
<div class="eof-indicator">End of feed</div>
{{else}}
<button class="show-more"
hx-get="?{{(cursor_to_query_params .CursorBottom)}}"