@ -20,7 +20,7 @@ const mapStateToProps = state => {
|
||||
};
|
||||
};
|
||||
|
||||
export default @connect(mapStateToProps)
|
||||
export default @connect(mapStateToProps, null, null, { forwardRef: true })
|
||||
class ScrollableList extends PureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
|
||||
@ -174,7 +174,7 @@ class Notification extends ImmutablePureComponent {
|
||||
|
||||
renderMention(notification) {
|
||||
return (
|
||||
<div className='notification notification-mention' tabIndex='0'>
|
||||
<div className='notification notification-mention focusable-within' tabIndex='0'>
|
||||
<StatusContainer
|
||||
id={notification.getIn(['status', 'id'])}
|
||||
withDismiss
|
||||
|
||||
@ -473,15 +473,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
.focusable {
|
||||
&:focus {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 6px 0 hsla(var(--brand-color_hsl), 0.7);
|
||||
.focusable:focus,
|
||||
.focusable-within:focus-within {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 6px 0 hsla(var(--brand-color_hsl), 0.7);
|
||||
|
||||
.status.status-direct {
|
||||
&.muted {
|
||||
background: transparent;
|
||||
}
|
||||
.status.status-direct {
|
||||
&.muted {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user