Drawing cheveron with CSS so it can be styled

pull/21833/head
wmwragg 2016-07-25 18:02:30 +01:00
parent 9c9c5ec458
commit 8f3e93214c
1 changed files with 2 additions and 2 deletions

View File

@ -54,10 +54,10 @@ module.exports = {
var chevron = null;
if (props.left) {
chevron = <img className="mx_ContextualMenu_chevron_left" src="img/chevron-left.png" width="9" height="16" />
chevron = <div className="mx_ContextualMenu_chevron_left" />
position.left = props.left + 8;
} else {
chevron = <img className="mx_ContextualMenu_chevron_right" src="img/chevron-right.png" width="9" height="16" />
chevron = <div className="mx_ContextualMenu_chevron_right" />
position.right = props.right + 8;
}