[ADF-3212] Upload version buttons wrapping fixed (#3492)

This commit is contained in:
davidcanonieto
2018-06-15 14:59:59 +01:00
committed by Eugenio Romano
parent 528d8e5855
commit 052668fddc
2 changed files with 8 additions and 11 deletions

View File

@@ -15,13 +15,9 @@
</mat-form-field> </mat-form-field>
</div> </div>
<div> <div class="adf-version-upload-buttons">
<button mat-raised-button (click)="cancelUpload()" class="adf-cancel-button">{{
'ADF_VERSION_LIST.ACTIONS.UPLOAD.CANCEL'| translate }}
</button>
<adf-upload-version-button <adf-upload-version-button
data-automation-id="adf-new-version-file-upload" data-automation-id="adf-new-version-file-upload"
class="adf-new-version-file-upload"
staticTitle="{{ 'ADF_VERSION_LIST.ACTIONS.UPLOAD.TITLE' | translate }}" staticTitle="{{ 'ADF_VERSION_LIST.ACTIONS.UPLOAD.TITLE' | translate }}"
[node]="node" [node]="node"
[disabled]="!canUpload()" [disabled]="!canUpload()"
@@ -33,5 +29,8 @@
(success)="success.emit($event)" (success)="success.emit($event)"
(error)="error.emit($event)"> (error)="error.emit($event)">
</adf-upload-version-button> </adf-upload-version-button>
<button mat-raised-button (click)="cancelUpload()">{{
'ADF_VERSION_LIST.ACTIONS.UPLOAD.CANCEL'| translate }}
</button>
</div> </div>

View File

@@ -7,13 +7,11 @@
margin: 5px; margin: 5px;
} }
.adf-cancel-button { .adf-version-upload-buttons {
margin-left: 20px; display: flex;
float: right;
}
.adf-new-version-file-upload {
float: right; float: right;
justify-content: space-between;
width: 100%;
} }
.adf-new-version-max-width { .adf-new-version-max-width {