Remove unnecessary status__info-time div (#3172)

rebase/4.0.0rc2
Nolan Lawson 2017-05-20 07:48:49 -07:00 committed by Eugen Rochko
parent f554807563
commit 419226d1f6
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 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;
}