[ADF-3119] Gallery mode layout fixed for document list (#3731)

This commit is contained in:
davidcanonieto
2018-09-04 11:18:49 +01:00
committed by Eugenio Romano
parent db0b9ae2e0
commit 567d172176
4 changed files with 37 additions and 5 deletions

View File

@@ -227,7 +227,8 @@
key="$thumbnail"
type="image"
[sortable]="false"
class="image-table-cell">
class="image-table-cell"
[class.cell-thumbnail]="thumbnails">
</data-column>
<data-column
*ngIf="showNameColumn"
@@ -266,7 +267,7 @@
title="{{'DOCUMENT_LIST.COLUMNS.IS_LOCKED' | translate}}"
key="id">
<ng-template let-entry="$implicit">
<button mat-icon-button [adf-node-lock]="entry.row.node.entry">
<button mat-icon-button [adf-node-lock]="entry.row.node.entry" class="adf-lock-button">
<mat-icon *ngIf="entry.row.getValue('isLocked')">lock</mat-icon>
<mat-icon *ngIf="!entry.row.getValue('isLocked')">lock_open</mat-icon>
</button>

View File

@@ -40,6 +40,10 @@
fill: #00bcd4 !important;
}
.adf-lock-button {
top: -10px;
}
.adf-site-container-style {
margin-top: 10px;
margin-bottom: 10px;