Fixed bug on button attach_file
This commit is contained in:
parent
59c347f88c
commit
87d3c89476
|
@ -4,7 +4,7 @@
|
||||||
<h4>{{'DMP-UPLOAD.TITLE' | translate}}</h4>
|
<h4>{{'DMP-UPLOAD.TITLE' | translate}}</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-icon-button class="col-auto" (click)="fileInput.click()" type="button">
|
<button class="col-auto attach-file" (click)="fileInput.click()" type="button">
|
||||||
<mat-icon color="primary">attach_file</mat-icon>
|
<mat-icon color="primary">attach_file</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<input class="hidden" #fileInput type="file" (change)="uploadFile($event)" accept="text/xml">
|
<input class="hidden" #fileInput type="file" (change)="uploadFile($event)" accept="text/xml">
|
||||||
|
|
|
@ -19,3 +19,14 @@
|
||||||
margin: -4px;
|
margin: -4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.attach-file {
|
||||||
|
border: none;
|
||||||
|
color: #aaaaaa;
|
||||||
|
cursor: pointer;
|
||||||
|
background-color: #ffffff00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.attach-file :hover {
|
||||||
|
color: #667eff
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue