Tweaked style means we can have 100% width (well 99% otherwise we gain a horizontal scrollbar)

This commit is contained in:
David Baker 2016-01-12 14:13:42 +00:00
parent 1507b39940
commit 37f1b4ba8a

View file

@ -694,7 +694,7 @@ module.exports = React.createClass({
var self = this; var self = this;
if (prevEvent && prevEvent.getId() == this.state.readReceiptEventId) { if (prevEvent && prevEvent.getId() == this.state.readReceiptEventId) {
var hr; var hr;
hr = (<hr className="mx_RoomView_myReadMarker" style={{opacity: 1, width: '85%'}} ref={function(n) { hr = (<hr className="mx_RoomView_myReadMarker" style={{opacity: 1, width: '99%'}} ref={function(n) {
self.readMarkerNode = n; self.readMarkerNode = n;
}} />); }} />);
readMarkerIndex = ret.length; readMarkerIndex = ret.length;