[Glitch] Improve toot clicking areas

Port part of 1fb92037e4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
pull/1310/head
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 ( return (
<HotKeys handlers={handlers}> <HotKeys handlers={handlers}>
<div className={classNames('conversation focusable muted', { 'conversation--unread': unread })} tabIndex='0'> <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} /> <AvatarComposite accounts={accounts} size={48} />
</div> </div>

View File

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

View File

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