mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-21 21:27:56 +01:00
change font bold
This commit is contained in:
parent
8015cd780d
commit
3b440b346a
@ -48,9 +48,11 @@ class Accordion extends React.Component {
|
||||
|
||||
return elements.map(({ body, title }, i) => (
|
||||
<span key={i}>
|
||||
<span className={classes.title}>
|
||||
<span onClick={() => this.changeAccordion(title)} className={classes.title}>
|
||||
<ExpandIcon />
|
||||
<p onClick={() => this.changeAccordion(title)} className={classes.button}>{title}</p>
|
||||
<p style={{
|
||||
fontWeight: openAccordion === title ? 'bold' : 'normal'
|
||||
}} className={classes.button}>{title}</p>
|
||||
</span>
|
||||
<div className={`${classes.body} ${openAccordion === title ? '' : classes.closed}`}>
|
||||
{body}
|
||||
|
@ -39,7 +39,7 @@ const styles = {
|
||||
flexGrow: 1,
|
||||
overflowY: 'auto',
|
||||
'& p': {
|
||||
fontWeight: 'bold',
|
||||
// fontWeight: 'bold',
|
||||
margin: '30px 0 0 0'
|
||||
},
|
||||
'& h3': {
|
||||
|
Loading…
Reference in New Issue
Block a user