[Glitch] Improve toot clicking areas

Port part of 1fb92037e4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
master
Mélanie Chauvel (ariasuni) 5 years ago committed by Thibaut Girka
parent 9175ebf20c
commit 2e337d850f
  1. 2
      app/javascript/flavours/glitch/features/direct_timeline/components/conversation.js
  2. 1
      app/javascript/flavours/glitch/styles/components/accounts.scss
  3. 1
      app/javascript/flavours/glitch/styles/components/index.scss

@ -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>

@ -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;

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

Loading…
Cancel
Save