UX: Indicate that "Show replies" button does not work for deleted posts (#16304)
This commit is contained in:
parent
7a284164ce
commit
1210cfe60e
|
@ -268,6 +268,7 @@ registerButton("replies", (attrs, state, siteSettings) => {
|
|||
labelOptions: { count: replyCount },
|
||||
label: attrs.mobileView ? "post.has_replies_count" : "post.has_replies",
|
||||
iconRight: !siteSettings.enable_filtered_replies_view || attrs.mobileView,
|
||||
disabled: !!attrs.deleted,
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
@ -388,6 +388,10 @@ nav.post-controls {
|
|||
color: currentColor;
|
||||
}
|
||||
}
|
||||
&[disabled]:hover {
|
||||
background-color: transparent;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
&.fade-out {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue