Skip to content

Commit b15def8

Browse files
committed
fix spacing of the layout to match latest designs
1 parent bbbe074 commit b15def8

7 files changed

Lines changed: 17 additions & 15 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ limitations under the License.
1818
max-width: 100%;
1919
clear: both;
2020
margin-top: 24px;
21-
margin-left: 56px;
21+
margin-left: 65px;
2222
}
2323

2424
.mx_EventTile_avatar {
2525
padding-left: 18px;
2626
padding-right: 12px;
27-
margin-left: -64px;
27+
margin-left: -73px;
2828
margin-top: -4px;
2929
float: left;
3030
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ limitations under the License.
3232
.mx_MessageComposer .mx_MessageComposer_avatar {
3333
display: table-cell;
3434
padding-left: 10px;
35-
padding-right: 20px;
35+
padding-right: 29px;
3636
height: 70px;
3737
}
3838

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ limitations under the License.
3333
.mx_RoomHeader_leftRow {
3434
height: 48px;
3535
margin-top: 18px;
36+
margin-left: -2px;
3637

3738
-webkit-box-ordinal-group: 1;
3839
-moz-box-ordinal-group: 1;
@@ -103,7 +104,7 @@ limitations under the License.
103104
color: #454545;
104105
font-weight: 800;
105106
font-size: 24px;
106-
padding-left: 8px;
107+
padding-left: 19px;
107108
padding-right: 16px;
108109
text-overflow: ellipsis;
109110
}
@@ -153,7 +154,7 @@ limitations under the License.
153154
max-height: 38px;
154155
color: #454545;
155156
font-weight: 300;
156-
padding-left: 8px;
157+
padding-left: 19px;
157158
padding-right: 16px;
158159
overflow: hidden;
159160
text-overflow: ellipsis;

‎src/skins/vector/css/organisms/RoomView.css‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ limitations under the License.
129129
clear: both;
130130
margin-top: 32px;
131131
margin-bottom: 8px;
132-
margin-left: 54px;
132+
margin-left: 63px;
133133
padding-bottom: 6px;
134134
border-bottom: 1px solid #eee;
135135
}
@@ -169,7 +169,7 @@ limitations under the License.
169169

170170
.mx_RoomView_statusAreaBox_line {
171171
border-top: 1px solid #eee;
172-
margin-left: 54px;
172+
margin-left: 63px;
173173
height: 1px;
174174
}
175175

@@ -187,14 +187,14 @@ limitations under the License.
187187

188188
.mx_RoomView_typingBar {
189189
margin-top: 10px;
190-
margin-left: 54px;
190+
margin-left: 63px;
191191
color: #4a4a4a;
192192
opacity: 0.5;
193193
}
194194

195195
.mx_RoomView_typingImage {
196196
display: inline;
197-
margin-left: -38px;
197+
margin-left: -47px;
198198
margin-top: -4px;
199199
float: left;
200200
}
@@ -214,7 +214,7 @@ limitations under the License.
214214

215215
.mx_RoomView_uploadProgressOuter {
216216
height: 4px;
217-
margin-left: 54px;
217+
margin-left: 63px;
218218
margin-top: -1px;
219219
}
220220

@@ -225,7 +225,7 @@ limitations under the License.
225225

226226
.mx_RoomView_uploadFilename {
227227
margin-top: 5px;
228-
margin-left: 56px;
228+
margin-left: 65px;
229229
opacity: 0.5;
230230
color: #4a4a4a;
231231
}

‎src/skins/vector/css/pages/MatrixChat.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ limitations under the License.
8787
-webkit-order: 2;
8888
order: 2;
8989

90-
padding-left: 12px;
91-
padding-right: 12px;
90+
padding-left: 25px;
91+
padding-right: 22px;
9292
background-color: #fff;
9393

9494
-webkit-flex: 1;

‎src/skins/vector/views/atoms/RoomAvatar.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ module.exports = React.createClass({
4343

4444
render: function() {
4545
var style = {
46-
maxWidth: this.props.width,
47-
maxHeight: this.props.height,
46+
width: this.props.width,
47+
weight: this.props.height,
4848
};
4949
return (
5050
<img className="mx_RoomAvatar" src={this.state.imageUrl} onError={this.onError}

‎src/skins/vector/views/organisms/RoomView.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ module.exports = React.createClass({
196196
);
197197
} else {
198198
var typingString = this.getWhoIsTypingString();
199+
//typingString = "Testing typing...";
199200
var unreadMsgs = this.getUnreadMessagesString();
200201
// unread count trumps who is typing since the unread count is only
201202
// set when you've scrolled up

0 commit comments

Comments
 (0)