forked from mirrors/treebird
Fix status without boosts
FossilOrigin-Name: 37476d56c13f63af307ed75f126a8dd36f3abca18872566d0356692a7e3d1a8f
This commit is contained in:
parent
a455a25698
commit
c372d05025
4 changed files with 9 additions and 6 deletions
4
dist/treebird20.css
vendored
4
dist/treebird20.css
vendored
|
@ -544,7 +544,7 @@ svg.in-reply-to-icon
|
|||
|
||||
.pfp-td img
|
||||
{
|
||||
border-radius: 3px;
|
||||
border-radius: 5px;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
object-fit: cover;
|
||||
|
@ -709,6 +709,7 @@ svg.in-reply-to-icon
|
|||
.status-interactions
|
||||
{
|
||||
border-bottom: 1px solid #ddbfbf;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.status-interactions-labels
|
||||
|
@ -721,6 +722,7 @@ svg.in-reply-to-icon
|
|||
.status-interactions-labels .header-btn
|
||||
{
|
||||
padding: 8px 12px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.status-interactions-labels .header-btn .btn-content
|
||||
|
|
|
@ -362,8 +362,8 @@ char* construct_status(mastodont_t* api,
|
|||
struct mstdnt_account* reblogs = NULL;
|
||||
struct mstdnt_storage favourites_storage = { 0 };
|
||||
struct mstdnt_storage reblogs_storage = { 0 };
|
||||
size_t favourites_len;
|
||||
size_t reblogs_len;
|
||||
size_t favourites_len = 0;
|
||||
size_t reblogs_len = 0;
|
||||
|
||||
// If focused, show status interactions
|
||||
if ((flags & STATUS_FOCUSED) == STATUS_FOCUSED &&
|
||||
|
|
|
@ -61,8 +61,9 @@ char* construct_func_strings(char* (*func)(void*, size_t, int*),
|
|||
// Cleanup
|
||||
free(res_html);
|
||||
}
|
||||
|
||||
result[curr_parse_size] = '\0';
|
||||
|
||||
if (result)
|
||||
result[curr_parse_size] = '\0';
|
||||
|
||||
if (ret_size) *ret_size = curr_parse_size;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<span class="btn-content">%d</span>
|
||||
</a>
|
||||
|
||||
<a class="follow-btn btn %s">
|
||||
<a href="%s/user/%s/%sfollow" class="follow-btn btn %s">
|
||||
%s
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue