Skip to content

Commit 8ebb8ba

Browse files
committed
fix up new message layout
1 parent 9c215ef commit 8ebb8ba

3 files changed

Lines changed: 5 additions & 9 deletions

File tree

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,19 +174,15 @@ limitations under the License.
174174
}
175175

176176
.mx_RoomView_unreadMessagesBar {
177-
margin-top: 13px;
178-
color: #fff;
179-
font-weight: bold;
180-
background-color: #ff0064;
181-
border-radius: 30px;
182-
height: 30px;
183-
line-height: 30px;
177+
color: #ff0064;
184178
cursor: pointer;
179+
margin-top: 5px;
185180
}
186181

187182
.mx_RoomView_unreadMessagesBar img {
188-
padding-left: 22px;
183+
padding-left: 10px;
189184
padding-right: 22px;
185+
vertical-align: middle;
190186
}
191187

192188
.mx_RoomView_typingBar {
377 Bytes
Loading

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ module.exports = React.createClass({
175175
if (unreadMsgs) {
176176
statusBar = (
177177
<div className="mx_RoomView_unreadMessagesBar" onClick={ this.scrollToBottom }>
178-
<img src="img/newmessages.png" width="10" height="12" alt=""/>
178+
<img src="img/newmessages.png" width="24" height="24" alt=""/>
179179
{unreadMsgs}
180180
</div>
181181
);

0 commit comments

Comments
 (0)