Make right panel a dark-panel instead of every descendant.

Also move bg color central.
This commit is contained in:
Bruno Windels 2018-11-06 14:47:58 +01:00
parent 92e43ea181
commit 4e773c2665
13 changed files with 10 additions and 12 deletions

View file

@ -213,6 +213,7 @@ export default class RightPanel extends React.Component {
const classes = classNames("mx_RightPanel", "mx_fadable", {
"collapsed": this.props.collapsed,
"mx_fadable_faded": this.props.disabled,
"dark-panel": true
});
return (

View file

@ -163,7 +163,7 @@ export default React.createClass({
</div> : <div />;
return (
<div className="mx_MemberList dark-panel">
<div className="mx_MemberList">
{ inputBox }
<GeminiScrollbarWrapper autoshow={true}>
{ joined }

View file

@ -131,7 +131,7 @@ export default React.createClass({
const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper");
const TruncatedList = sdk.getComponent("elements.TruncatedList");
return (
<div className="mx_GroupRoomList dark-panel">
<div className="mx_GroupRoomList">
{ inputBox }
<GeminiScrollbarWrapper autoshow={true} className="mx_GroupRoomList_joined mx_GroupRoomList_outerWrapper">
<TruncatedList className="mx_GroupRoomList_wrapper" truncateAt={this.state.truncateAt}

View file

@ -445,7 +445,7 @@ module.exports = React.createClass({
}
return (
<div className="mx_MemberList dark-panel">
<div className="mx_MemberList">
{ inviteButton }
<GeminiScrollbarWrapper autoshow={true}>
<div className="mx_MemberList_wrapper">