Make right panel a dark-panel instead of every descendant.
Also move bg color central.
This commit is contained in:
parent
92e43ea181
commit
4e773c2665
13 changed files with 10 additions and 12 deletions
|
@ -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 (
|
||||
|
|
|
@ -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 }
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue