tidy up rightpanel and searchbox

This commit is contained in:
Matthew Hodgson 2016-04-15 15:53:27 +01:00
parent 72745b05dc
commit 90ae024a4e
7 changed files with 33 additions and 24 deletions

View file

@ -169,6 +169,8 @@ module.exports = React.createClass({
{ buttonGroup }
</div>
{ panel }
<div className="mx_RightPanel_footer">
</div>
</aside>
);
}

View file

@ -25,7 +25,6 @@ module.exports = React.createClass({
render: function() {
var TintableSvg = sdk.getComponent('elements.TintableSvg');
var EditableText = sdk.getComponent("elements.EditableText");
var toggleCollapse;
if (this.props.collapsed) {
@ -41,11 +40,9 @@ module.exports = React.createClass({
className="mx_SearchBox_searchButton"
src="img/search.svg" width="21" height="19"
/>
<EditableText
<input
type="text"
className="mx_SearchBox_search"
placeholderClassName="mx_SearchBox_searchPlaceholder"
blurToCancel={ false }
editable={ true }
placeholder="Search Vector"
/>
{ toggleCollapse }