Increase left margins for select file button.

nb/hide-http
Neeraj Baid 11 years ago
parent 5138ed4d05
commit 9daafd0716

@ -223,7 +223,10 @@ label.myLabel input[type="file"] {
border: 2px solid #CCC; border: 2px solid #CCC;
border-radius: 4px; border-radius: 4px;
padding: 2px 5px; padding: 2px 5px;
margin: 2px; margin-left: 4px;
margin-right: 2px;
margin-top: 2px;
margin-bottom: 2px;
background: #EEE; background: #EEE;
display: inline-block; display: inline-block;
} }

@ -56,11 +56,11 @@ export default class UploadPage extends React.Component {
<p>Your files, delivered.</p> <p>Your files, delivered.</p>
<p>Drag the file into this window to get started.</p> <p>Drag the file into this window to get started.</p>
<p>Or <p>Or
<label className="myLabel"> <label className="myLabel">
<input type="file" onChange={this.handleSelectedFile} required/> <input type="file" onChange={this.handleSelectedFile} required/>
<span>select a file</span> <span>select a file</span>
</label> </label>
. .
</p> </p>
</Centered> </Centered>
</DropZone> </DropZone>

Loading…
Cancel
Save