mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-18 14:01:56 +08:00
fix: color input laypout fix
This commit is contained in:
parent
c710402a7b
commit
653cf20735
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
@ -19,7 +19,7 @@
|
||||
align-items: center;
|
||||
vertical-align: middle;
|
||||
padding:50px;
|
||||
font-size:40px;
|
||||
font-size:35px;
|
||||
font-weight: 600;
|
||||
border:none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user