Merge pull request #3422 from matrix-org/bwindels/lp-visualfixes
Left panel: visual fixespull/21833/head
commit
3c13210992
|
@ -132,11 +132,12 @@ limitations under the License.
|
||||||
.mx_SearchBox {
|
.mx_SearchBox {
|
||||||
flex: 1 1 0;
|
flex: 1 1 0;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
margin: 4px 9px 1px 9px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_LeftPanel_explore {
|
.mx_LeftPanel_explore {
|
||||||
flex: 0 0 40%;
|
flex: 0 0 50%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: flex-basis 0.2s;
|
transition: flex-basis 0.2s;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -147,8 +148,7 @@ limitations under the License.
|
||||||
|
|
||||||
.mx_AccessibleButton {
|
.mx_AccessibleButton {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin: 9px;
|
margin: 4px 0 1px 9px;
|
||||||
margin-right: 0;
|
|
||||||
padding: 9px;
|
padding: 9px;
|
||||||
padding-left: 42px;
|
padding-left: 42px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
|
@ -126,7 +126,7 @@ module.exports = createReactClass({
|
||||||
if (this.props.collapsed) {
|
if (this.props.collapsed) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
const clearButton = this.state.searchTerm.length > 0 ?
|
const clearButton = !this.state.blurred ?
|
||||||
(<AccessibleButton key="button"
|
(<AccessibleButton key="button"
|
||||||
className="mx_SearchBox_closeButton"
|
className="mx_SearchBox_closeButton"
|
||||||
onClick={ () => {this._clearSearch("button"); } }>
|
onClick={ () => {this._clearSearch("button"); } }>
|
||||||
|
|
Loading…
Reference in New Issue