mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 09:53:01 +08:00
Making character input field green to match designs.
This commit is contained in:
@@ -87,7 +87,7 @@ class CommentSettings extends Component {
|
||||
<p className={settings.charCountEnable ? '' : styles.disabledSettingText}>
|
||||
<span>{lang.t('configure.comment-count-text-pre')}</span>
|
||||
<input type='text'
|
||||
className={styles.charCountTexfield}
|
||||
className={`${styles.charCountTexfield} ${settings.charCountEnable && styles.charCountTexfieldEnabled}`}
|
||||
htmlFor='charCount'
|
||||
onChange={this.updateCharCount(updateSettings)}
|
||||
value={settings.charCount}/>
|
||||
|
||||
@@ -71,6 +71,10 @@
|
||||
border-width: 0px 0px 1px 0px;
|
||||
}
|
||||
|
||||
.charCountTexfieldEnabled {
|
||||
border-color: #4caf50;
|
||||
}
|
||||
|
||||
.charCountTexfield:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user