Show follower information, make right sidebar larger

FossilOrigin-Name: 9e162f852582486f630c51788ba26e811640d274c1a74b8bdb923e13e79d0eb2
This commit is contained in:
me@ow.nekobit.net 2022-03-24 03:36:50 +00:00
parent 5067d9517d
commit ea5388d281
2 changed files with 16 additions and 7 deletions

19
dist/treebird20.css vendored
View file

@ -93,9 +93,9 @@ table.ui-table td
#main
{
width: 640px;
max-width: 640px !important;
min-width: 640px;
width: 610px;
max-width: 610px !important;
min-width: 610px;
border-collapse: collapse !important;
padding: 0;
}
@ -131,6 +131,15 @@ table.ui-table td
list-style-type: none;
}
#rightbar
{
border-left: 1px solid #cacaca;
min-width: 210px;
max-width: 210px;
}
/*************************************************
* COMMON ELEMENTS *
*************************************************/
@ -200,10 +209,6 @@ ul li:first-child a.sidebarbtn
border-top: 1px solid #dadada;
}
#rightbar
{
border-left: 1px solid #cacaca;
}
/****************************
* Notifications *

View file

@ -67,7 +67,11 @@ char* construct_notification_compact(struct mstdnt_notification* notif, int* siz
notif->account->avatar,
notif->account->display_name,
type_str,
/* Might show follower address */
notif->type == MSTDNT_NOTIFICATION_FOLLOW ?
notif->account->acct :
notif->status ? notif->status->content : "",
/* end */
notif_stats ? notif_stats : "");
if (size) *size = s;