From 567d17217677f9ac382701be60c7d5bdae37333f Mon Sep 17 00:00:00 2001 From: davidcanonieto Date: Tue, 4 Sep 2018 11:18:49 +0100 Subject: [PATCH] [ADF-3119] Gallery mode layout fixed for document list (#3731) --- .../app/components/files/files.component.html | 5 ++-- .../app/components/files/files.component.scss | 4 ++++ .../datatable/datatable.component.html | 10 +++++--- .../datatable/datatable.component.scss | 23 +++++++++++++++++++ 4 files changed, 37 insertions(+), 5 deletions(-) diff --git a/demo-shell/src/app/components/files/files.component.html b/demo-shell/src/app/components/files/files.component.html index 621b04f049..ee956014b8 100644 --- a/demo-shell/src/app/components/files/files.component.html +++ b/demo-shell/src/app/components/files/files.component.html @@ -227,7 +227,8 @@ key="$thumbnail" type="image" [sortable]="false" - class="image-table-cell"> + class="image-table-cell" + [class.cell-thumbnail]="thumbnails"> - diff --git a/demo-shell/src/app/components/files/files.component.scss b/demo-shell/src/app/components/files/files.component.scss index 99f42b72b6..17419eab15 100644 --- a/demo-shell/src/app/components/files/files.component.scss +++ b/demo-shell/src/app/components/files/files.component.scss @@ -40,6 +40,10 @@ fill: #00bcd4 !important; } + .adf-lock-button { + top: -10px; + } + .adf-site-container-style { margin-top: 10px; margin-bottom: 10px; diff --git a/lib/core/datatable/components/datatable/datatable.component.html b/lib/core/datatable/components/datatable/datatable.component.html index 337d83a034..f2e339a702 100644 --- a/lib/core/datatable/components/datatable/datatable.component.html +++ b/lib/core/datatable/components/datatable/datatable.component.html @@ -49,6 +49,7 @@
-
-
+
{{ asIconValue(row, col) }} @@ -100,6 +104,7 @@ {{ iconAltTextKey(data.getValue(row, col)) | translate }} @@ -178,7 +183,6 @@
-