Remove unnecessary status__info-time div (#3172)

lolsob-rspec
Nolan Lawson 2017-05-20 07:48:49 -07:00 committed by Eugen Rochko
parent 9d32e7f6d5
commit fb220aefc9
3 changed files with 4 additions and 9 deletions

View File

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

View File

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

View File

@ -62,7 +62,7 @@ body.rtl {
left: 0;
}
.status__info-time {
.status__relative-time {
float: left;
}