Skip to content

Commit c30ac9f

Browse files
committed
last version
1 parent 8556118 commit c30ac9f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/components/Main.css

+11
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ width: 120px;
88

99

1010
}
11+
12+
input[type=file]::file-selector-button {
13+
border: 2px solid black;
14+
padding: .2em .4em;
15+
border-radius: .2em;
16+
background-color: rgb(211, 208, 208);
17+
transition: 1s;
18+
color: rgb(0, 0, 0);
19+
}
20+
1121
input[type=text]{
1222
width: 100%;
1323

@@ -38,6 +48,7 @@ width: 100px;
3848

3949

4050
font-size: 12px;
51+
padding: 7px 10px;
4152

4253
}
4354

src/components/Main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Main extends Component {
4141
placeholder="description..."
4242
required />
4343
</div>
44-
<div class="onelinee" > <input type="file" onChange={this.props.captureFile} className="btn btn-white"/> </div>
44+
<div class="onelinee" > <input type="file" onChange={this.props.captureFile} className="btn btn-white]"/> </div>
4545

4646
<div class="onelinee" > <button type="submit" style={{ color: "white", background: "black"}} className="btn btn-dark"><b>Upload!</b></button>
4747
</div>

0 commit comments

Comments
 (0)