[ADF-5129][ADF-5130] Fix Lock in Gallery view and Lock Dialog (#5646)

This commit is contained in:
davidcanonieto 2020-04-28 08:50:06 +01:00 committed by GitHub
parent 13e17f8673
commit b6072f806a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 13 deletions

View File

@ -29,8 +29,9 @@
}
}
.app-datatable-card .app-lock-button {
.adf-datatable-card .app-lock-button {
top: -10px;
position: absolute;
}
.app-site-container-style {

View File

@ -5,7 +5,7 @@
<mat-dialog-content>
<br />
<form [formGroup]="form" (submit)="submit()">
<mat-checkbox data-automation-id="adf-lock-node-checkbox" class="adf-lock-file-name" [formControl]="form.controls['isLocked']" ngDefaultControl>
<mat-checkbox data-automation-id="adf-lock-node-checkbox" class="adf-lock-file-name" matTooltip="{{ nodeName }}" [formControl]="form.controls['isLocked']" ngDefaultControl>
{{ 'CORE.FILE_DIALOG.FILE_LOCK_CHECKBOX' | translate }} <strong>"{{ nodeName }}"</strong>
</mat-checkbox>

View File

@ -25,10 +25,22 @@
overflow-y: auto;
}
.adf-datatable-selected > svg {
fill: $document-list-selection-color;
width: 32px;
height: 32px;
.adf-datatable-card {
.adf-datatable-selected > svg {
fill: $document-list-selection-color;
width: 30px;
height: 30px;
position: absolute;
top: 10px;
}
}
.adf-datatable-list {
.adf-datatable-selected > svg {
fill: $document-list-selection-color;
width: 30px;
height: 30px;
}
}
.adf-document-list_empty_template {
@ -175,21 +187,23 @@
height: 300px !important;
img {
height: 100px;
height: 130px;
}
:first-child .adf-cell-container .adf-cell-value {
display: flex;
width: 265px;
flex: 0 0 auto;
justify-content: center;
.adf-datatable-cell {
overflow: visible;
}
.adf-datatable-cell.adf-datatable-table-cell.adf-datatable-cell--image {
.adf-datatable-cell.adf-datatable-cell--image {
flex: 0 0 auto;
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
.adf-cell-value {
display: flex;
justify-content: center;
}
}
}
}

View File

@ -111,6 +111,10 @@
}
}
.adf-datatable-cell--image {
margin-left: 8px;
}
.adf-datatable-cell {
text-align: left;
flex: 0 1 24%;
@ -144,6 +148,7 @@
height: 42px !important;
width: 42px !important;
right: 0;
top: 4px;
}
.adf-image-table-cell {