mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-03 12:51:04 +02:00
implement right panel collapsing more correctly too
This commit is contained in:
parent
47ed8971e3
commit
8bdb5c0745
@ -116,3 +116,8 @@ limitations under the License.
|
|||||||
-webkit-flex: 0 0 230px;
|
-webkit-flex: 0 0 230px;
|
||||||
flex: 0 0 230px;
|
flex: 0 0 230px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_MatrixChat .mx_RightPanel.collapsed {
|
||||||
|
-webkit-flex: 0 0 72px;
|
||||||
|
flex: 0 0 72px;
|
||||||
|
}
|
||||||
|
@ -64,8 +64,13 @@ module.exports = React.createClass({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var classes = "mx_RightPanel";
|
||||||
|
if (this.state.phase === this.Phase.None) {
|
||||||
|
classes += " collapsed";
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<aside className="mx_RightPanel">
|
<aside className={classes}>
|
||||||
<div className="mx_RightPanel_header">
|
<div className="mx_RightPanel_header">
|
||||||
{ buttonGroup }
|
{ buttonGroup }
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user