Skip to content

Commit

Permalink
[jsx/Panel] Make Panel title Bold (aces#5953)
Browse files Browse the repository at this point in the history
Make panel titles bold.
  • Loading branch information
zaliqarosli authored and spell00 committed Aug 13, 2020
1 parent 9efac90 commit 3c65e8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jsx/Panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Panel extends Component {
onClick={this.toggleCollapsed}
data-toggle="collapse"
data-target={'#' + this.props.id}
style={{cursor: 'pointer', height: '3em'}}
style={{cursor: 'pointer', height: '3em', fontWeight: 'bold'}}
>
{this.props.title}
<span className={glyphClass}></span>
Expand Down Expand Up @@ -92,6 +92,7 @@ class Panel extends Component {
}

Panel.propTypes = {
initCollapsed: PropTypes.bool,
id: PropTypes.string,
height: PropTypes.string,
title: PropTypes.string,
Expand All @@ -100,6 +101,7 @@ Panel.defaultProps = {
initCollapsed: false,
id: 'default-panel',
height: '100%',
title: '',
};

export default Panel;

0 comments on commit 3c65e8c

Please sign in to comment.