Make end-of-feed indicator look better
This commit is contained in:
parent
0e965eadc4
commit
e300a882e4
@ -417,6 +417,12 @@ ul.quick-links {
|
|||||||
/* not for nested (i.e., quoted) tweets */
|
/* not for nested (i.e., quoted) tweets */
|
||||||
border-bottom: 1px solid var(--color-twitter-off-white-dark);
|
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 {
|
.top-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{{template "tweet" .}}
|
{{template "tweet" .}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .CursorBottom.CursorPosition.IsEnd}}
|
{{if .CursorBottom.CursorPosition.IsEnd}}
|
||||||
<p>End of feed</p>
|
<div class="eof-indicator">End of feed</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<button class="show-more"
|
<button class="show-more"
|
||||||
hx-get="?{{(cursor_to_query_params .CursorBottom)}}"
|
hx-get="?{{(cursor_to_query_params .CursorBottom)}}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user