fix: color input laypout fix

This commit is contained in:
rutik wankhade 2020-08-19 00:53:07 +05:30
parent c710402a7b
commit 653cf20735
3 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,7 @@ body {
display: flex;
flex-direction: column;
align-items: center;
padding: 15px;
padding: 30px;
}
.blog-cover {
display: flex;
@ -51,6 +51,7 @@ input[type=number]{
background-color: #00e68a;
margin-top: 10px;
box-shadow: 4px 4px #676683;
font-size: 18px;
}

View File

@ -50,6 +50,7 @@ class ConfigCover extends React.Component {
<input
type="color"
value={this.state.foregroundColor}
className="mr-4"
onChange={(e) => this.setState({ foregroundColor: e.target.value })}
/>
<label>Text</label>
@ -114,7 +115,7 @@ class ConfigCover extends React.Component {
<div className="d-flex flex-row mt-2">
<label>Dowload As</label>
<select onChange={(e) => this.setState({ download: e.target.value })} className="form-control input-md" value={this.state.download}>
<select onChange={(e) => this.setState({ download: e.target.value })} className="form-control input-md ml-2" value={this.state.download}>
<option>PNG</option>
<option>JPEG</option>
</select>

View File

@ -19,7 +19,7 @@
align-items: center;
vertical-align: middle;
padding:50px;
font-size:40px;
font-size:35px;
font-weight: 600;
border:none;
}