0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 09:52:41 +00:00

Tweak styling for Overwrite checkbox

This commit is contained in:
G.Ambatte
2025-04-09 20:10:48 +12:00
parent da4f6c9307
commit 04defb97b0
2 changed files with 7 additions and 4 deletions

View File

@@ -143,7 +143,7 @@ const LockBrew = createClass({
{this.renderInput('shareMessage')} {this.renderInput('shareMessage')}
</label> </label>
<br /> <br />
<label> <label className='checkbox'>
Overwrite Overwrite
<input name='overwrite' className='checkbox' type='checkbox' value={this.state.overwrite} onClick={()=>{return this.setState((prevState)=>{return { overwrite: !prevState.overwrite };});}} /> <input name='overwrite' className='checkbox' type='checkbox' value={this.state.overwrite} onClick={()=>{return this.setState((prevState)=>{return { overwrite: !prevState.overwrite };});}} />
</label> </label>

View File

@@ -15,12 +15,15 @@
width : 65%; width : 65%;
margin-left : 10px; margin-left : 10px;
} }
input.checkbox { &.checkbox {
line-height: 1.5em;
input {
width : 1.5em; width : 1.5em;
height : 1.5em; height : 1.5em;
} }
} }
} }
}
.lockSuggestions { .lockSuggestions {
line-height : 1.2em; line-height : 1.2em;