Remove unnecessary status__info-time div (#3172)
This commit is contained in:
parent
f554807563
commit
419226d1f6
|
@ -100,9 +100,7 @@ class Status extends ImmutablePureComponent {
|
|||
return (
|
||||
<div className={`status ${this.props.muted ? 'muted' : ''} status-${status.get('visibility')}`}>
|
||||
<div className='status__info'>
|
||||
<div className='status__info-time'>
|
||||
<a href={status.get('url')} className='status__relative-time' target='_blank' rel='noopener'><RelativeTimestamp timestamp={status.get('created_at')} /></a>
|
||||
</div>
|
||||
<a href={status.get('url')} className='status__relative-time' target='_blank' rel='noopener'><RelativeTimestamp timestamp={status.get('created_at')} /></a>
|
||||
|
||||
<a onClick={this.handleAccountClick} data-id={status.getIn(['account', 'id'])} href={status.getIn(['account', 'url'])} className='status__display-name'>
|
||||
<div className='status__avatar'>
|
||||
|
|
|
@ -606,6 +606,8 @@
|
|||
|
||||
.status__relative-time {
|
||||
color: lighten($ui-base-color, 26%);
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.status__display-name {
|
||||
|
@ -622,11 +624,6 @@
|
|||
font-size: 15px;
|
||||
}
|
||||
|
||||
.status__info-time {
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.status-check-box {
|
||||
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
||||
display: flex;
|
||||
|
|
|
@ -62,7 +62,7 @@ body.rtl {
|
|||
left: 0;
|
||||
}
|
||||
|
||||
.status__info-time {
|
||||
.status__relative-time {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue