Skip to content

Commit

Permalink
mattermost-community#66 dark theme issue CircleCi error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guna-demansol committed Mar 14, 2022
1 parent 080b4d8 commit 13865c0
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions webapp/src/components/meeting_settings/meeting_settings.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import PropTypes from 'prop-types';
import React from 'react';
import { Modal } from 'react-bootstrap';
import {Modal} from 'react-bootstrap';
import Select from 'react-select';



export default class MeetingSettingsModal extends React.PureComponent {
static propTypes = {
visible: PropTypes.bool.isRequired,
Expand Down Expand Up @@ -36,19 +34,17 @@ export default class MeetingSettingsModal extends React.PureComponent {
{
backgroundColor: 'var(--button-bg)',
color: 'var(--button-color)',
}:
} :
{};

return {
...provided,
...bgColor,
':active': {
...provided[':active'],
backgroundColor: isDisabled ?
undefined :
isSelected ?
'var(--button-bg)':
'var(--center-channel-bg)'
backgroundColor: isSelected ?
'var(--button-bg)' :
'var(--center-channel-bg)',
},
};
},
Expand Down

0 comments on commit 13865c0

Please sign in to comment.