mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 12:32:39 +08:00
Hide the textfield when not enable.
This commit is contained in:
@@ -61,3 +61,7 @@
|
||||
font-size: 14px;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ class Configure extends React.Component {
|
||||
Write a message to be added to the top of your comment stream. Pose a topic, include community guidelines, etc.
|
||||
</ListItemContent>
|
||||
</ListItem>
|
||||
<ListItem className={styles.configSettingInfoBox}>
|
||||
<ListItem className={`${styles.configSettingInfoBox} ${this.props.settings.infoBoxEnable ? null : styles.hidden}`} >
|
||||
<Textfield
|
||||
onChange={this.updateInfoBoxContent}
|
||||
value={this.props.settings.infoBoxContent}
|
||||
|
||||
Reference in New Issue
Block a user