diff --git a/dist/ratfe20.css b/dist/ratfe20.css index 500dc8f..a4359b3 100644 --- a/dist/ratfe20.css +++ b/dist/ratfe20.css @@ -239,7 +239,6 @@ ul li:first-child a.sidebarbtn { margin: 8px 0 2px 0; display: flex; - } @@ -443,6 +442,7 @@ ul li:first-child a.sidebarbtn border-radius: 3px; } +.status-interact .nobutton-active, .nobutton:hover { background-color: #aa0000 !important; diff --git a/src/status.c b/src/status.c index eebfc0e..d43df3b 100644 --- a/src/status.c +++ b/src/status.c @@ -81,8 +81,11 @@ char* construct_statuses(struct mstdnt_status* statuses, size_t size, size_t* re statuses[i].account.avatar, statuses[i].account.display_name, /* Username */ statuses[i].account.acct, /* Account */ - "Public?", /* visibility */ - statuses[i].content); + "Public", /* visibility */ + statuses[i].content, + statuses[i].reblogged ? "nobutton-active" : "", + statuses[i].id, + statuses[i].favourited ? "nobutton-active" : ""); if (parse_size == -1) /* Malloc error */ { if (result) free(result); diff --git a/static/status.html b/static/status.html index 20aae9b..9e23605 100644 --- a/static/status.html +++ b/static/status.html @@ -17,10 +17,12 @@