Skip to content

Commit 1d3c821

Browse files
committed
improve spacing a bit
1 parent 6d6e136 commit 1d3c821

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎src/skins/vector/css/molecules/EventTile.css‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
.mx_EventTile {
1818
max-width: 100%;
1919
clear: both;
20-
margin-top: 32px;
20+
margin-top: 24px;
2121
margin-left: 56px;
2222
}
2323

@@ -53,6 +53,10 @@ limitations under the License.
5353
float: right;
5454
}
5555

56+
.mx_EventTile_line {
57+
position: relative;
58+
}
59+
5660
.mx_EventTile_content {
5761
padding-right: 100px;
5862
display: block;
@@ -91,9 +95,9 @@ limitations under the License.
9195
}
9296

9397
.mx_EventTile_editButton {
94-
clear: right;
95-
float: right;
96-
display: inline-block;
98+
position: absolute;
99+
right: 0px;
100+
top: 15px;
97101
visibility: hidden;
98102
border: 0px;
99103
outline: none;

‎src/skins/vector/views/molecules/EventTile.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ module.exports = React.createClass({
122122
<div className={classes}>
123123
{ avatar }
124124
{ sender }
125-
<div>
125+
<div className="mx_EventTile_line">
126126
{ timestamp }
127127
{ editButton }
128128
<EventTileType mxEvent={this.props.mxEvent} />

0 commit comments

Comments
 (0)