improve spacing a bit

This commit is contained in:
Matthew Hodgson 2015-10-25 02:26:24 +00:00
parent 6d6e1366dc
commit 1d3c821672
2 changed files with 9 additions and 5 deletions

View File

@ -17,7 +17,7 @@ limitations under the License.
.mx_EventTile { .mx_EventTile {
max-width: 100%; max-width: 100%;
clear: both; clear: both;
margin-top: 32px; margin-top: 24px;
margin-left: 56px; margin-left: 56px;
} }
@ -53,6 +53,10 @@ limitations under the License.
float: right; float: right;
} }
.mx_EventTile_line {
position: relative;
}
.mx_EventTile_content { .mx_EventTile_content {
padding-right: 100px; padding-right: 100px;
display: block; display: block;
@ -91,9 +95,9 @@ limitations under the License.
} }
.mx_EventTile_editButton { .mx_EventTile_editButton {
clear: right; position: absolute;
float: right; right: 0px;
display: inline-block; top: 15px;
visibility: hidden; visibility: hidden;
border: 0px; border: 0px;
outline: none; outline: none;

View File

@ -122,7 +122,7 @@ module.exports = React.createClass({
<div className={classes}> <div className={classes}>
{ avatar } { avatar }
{ sender } { sender }
<div> <div className="mx_EventTile_line">
{ timestamp } { timestamp }
{ editButton } { editButton }
<EventTileType mxEvent={this.props.mxEvent} /> <EventTileType mxEvent={this.props.mxEvent} />