[Glitch] Improve toot clicking areas

Port part of 1fb92037e4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Mélanie Chauvel (ariasuni) 2020-03-31 19:40:23 +02:00 committed by Thibaut Girka
parent 9175ebf20c
commit 2e337d850f
3 changed files with 2 additions and 2 deletions

View file

@ -195,7 +195,7 @@ class Conversation extends ImmutablePureComponent {
return (
<HotKeys handlers={handlers}>
<div className={classNames('conversation focusable muted', { 'conversation--unread': unread })} tabIndex='0'>
<div className='conversation__avatar'>
<div className='conversation__avatar' onClick={this.handleClick} role='presentation'>
<AvatarComposite accounts={accounts} size={48} />
</div>

View file

@ -51,7 +51,6 @@
@include avatar-radius;
overflow: hidden;
position: relative;
cursor: default;
& div {
@include avatar-radius;

View file

@ -1515,6 +1515,7 @@
padding: 10px;
padding-top: 12px;
position: relative;
cursor: pointer;
}
&__unread {