mirror of
https://github.com/flarum/core.git
synced 2025-08-07 00:47:00 +02:00
chore: adjustments to clickable items
This commit is contained in:
@@ -312,7 +312,7 @@ export default class DiscussionListItem<CustomAttrs extends IDiscussionListItemA
|
||||
className="DiscussionListItem-count"
|
||||
icon={showUnread ? [<Icon name={'fas fa-check _checkmark'} />, <Icon name={'fas fa-comment _comment'} />] : <Icon name={'far fa-comment'} />}
|
||||
label={showUnread ? abbreviateNumber(discussion.unreadCount()) : abbreviateNumber(discussion.replyCount())}
|
||||
a11yLabel={app.translator.trans(a11yKey, { count: discussion.replyCount() })}
|
||||
a11yLabel={app.translator.trans(a11yKey, { count: discussion.unreadCount() })}
|
||||
onclick={showUnread ? this.markAsRead.bind(this) : undefined}
|
||||
/>
|
||||
);
|
||||
|
@@ -20,10 +20,6 @@
|
||||
border-radius: 100%;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
span& {
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
.Avatar--size(@size) {
|
||||
|
@@ -306,7 +306,7 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&:hover, &:focus {
|
||||
._checkmark {
|
||||
display: block;
|
||||
}
|
||||
|
Reference in New Issue
Block a user