Fix h2 in markdown being weird

Date separator style was just define don any h2 in the message
list, so got picked up by any h2s in markdown too. Give date
separators their own class.

Fixes https://github.com/vector-im/riot-web/issues/4328
This commit is contained in:
David Baker 2017-06-16 11:36:24 +01:00
parent 584e4c04da
commit 2c186aafae
4 changed files with 27 additions and 10 deletions

View file

@ -53,7 +53,7 @@ module.exports = React.createClass({
}
return (
<h2>{ label }</h2>
<h2 className="mx_DateSeparator">{ label }</h2>
);
}
});