align new submission button with upload drop zone

This commit is contained in:
Giuseppe Digilio
2019-04-25 14:48:59 +02:00
parent 1c92e82f43
commit 9a55771d51
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
[uploader]="uploader"
(fileOver)="fileOverBase($event)"
class="well ds-base-drop-zone mt-1 mb-3 text-muted">
<p class="text-center m-0 pt-2" [hidden]="uploader?.queue?.length !== 0">
<p class="text-center m-0 p-0 d-flex justify-content-center align-items-center" *ngIf="uploader?.queue?.length === 0">
<span><i class="fas fa-cloud-upload" aria-hidden="true"></i> {{dropMsg | translate}} {{'uploader.or' | translate}}
<label class="btn btn-link m-0 p-0">
<input class="d-none" type="file" ng2FileSelect [uploader]="uploader" multiple />

View File

@@ -5,7 +5,7 @@ $button-height: $input-btn-padding-y * 2 + $input-btn-line-height + calculateRem
$card-height-percentage:98%;
$card-thumbnail-height:240px;
$dropdown-menu-max-height: 200px;
$drop-zone-area-height: 42px;
$drop-zone-area-height: 44px;
$drop-zone-area-z-index: 1025;
$drop-zone-area-inner-z-index: 1021;
$login-logo-height:72px;