tidy up rightpanel and searchbox
This commit is contained in:
parent
72745b05dc
commit
90ae024a4e
7 changed files with 33 additions and 24 deletions
|
@ -169,6 +169,8 @@ module.exports = React.createClass({
|
|||
{ buttonGroup }
|
||||
</div>
|
||||
{ panel }
|
||||
<div className="mx_RightPanel_footer">
|
||||
</div>
|
||||
</aside>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue