mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
Tweak styling for Overwrite checkbox
This commit is contained in:
@@ -143,7 +143,7 @@ const LockBrew = createClass({
|
||||
{this.renderInput('shareMessage')}
|
||||
</label>
|
||||
<br />
|
||||
<label>
|
||||
<label className='checkbox'>
|
||||
Overwrite
|
||||
<input name='overwrite' className='checkbox' type='checkbox' value={this.state.overwrite} onClick={()=>{return this.setState((prevState)=>{return { overwrite: !prevState.overwrite };});}} />
|
||||
</label>
|
||||
|
||||
@@ -15,9 +15,12 @@
|
||||
width : 65%;
|
||||
margin-left : 10px;
|
||||
}
|
||||
input.checkbox {
|
||||
width : 1.5em;
|
||||
height : 1.5em;
|
||||
&.checkbox {
|
||||
line-height: 1.5em;
|
||||
input {
|
||||
width : 1.5em;
|
||||
height : 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user