Try to improved logo upload.
This commit is contained in:
parent
f116ac34bc
commit
8b61ac1403
2 changed files with 13 additions and 3 deletions
|
@ -56,8 +56,12 @@
|
|||
<div class="form-group">
|
||||
<label>Logo</label>
|
||||
<div class="horizontal center">
|
||||
<img class="fileUpload-preview" src="">
|
||||
<div class="btn btn--success fileUpload">Upload<input type="file" class="js-upload" accept="image/*"></div>
|
||||
<div class="flex fileUpload-placeholder">
|
||||
<img class="fileUpload-preview" src="">
|
||||
</div>
|
||||
<div class="flex">
|
||||
<div class="btn btn--success fileUpload"><%- @T('Upload') %><input type="file" class="js-upload" accept="image/*"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
|
@ -4195,8 +4195,14 @@ label + .wizard-buttonList {
|
|||
}
|
||||
}
|
||||
|
||||
.setup.wizard .fileUpload-placeholder {
|
||||
border: dotted 1px #eee;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.setup.wizard .fileUpload-preview {
|
||||
height: 36px;
|
||||
max-height: 100px;
|
||||
max-width: 180px;
|
||||
}
|
||||
|
||||
.setup.wizard .fileUpload-preview:not([src=""]) + .fileUpload {
|
||||
|
|
Loading…
Reference in a new issue