Use flex for buttons cell in messages table

This commit is contained in:
Anton Khorev 2023-08-11 20:51:51 +03:00
parent 94d8638b00
commit 8f946f1360
3 changed files with 8 additions and 8 deletions

View file

@ -28,7 +28,7 @@ $(document).ready(function () {
$(target).closest("tr")
.toggleClass("inbox-row", isRead)
.toggleClass("inbox-row-unread", !isRead)
.find(".inbox-mark-unread button").prop("hidden", !isRead).end()
.find(".inbox-mark-read button").prop("hidden", isRead);
.find(".inbox-mark-unread").prop("hidden", !isRead).end()
.find(".inbox-mark-read").prop("hidden", isRead);
}
});