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

View File

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