From 6ca8de7e4c48308b53aabd6ce9450bd2899b409a Mon Sep 17 00:00:00 2001 From: suzana_dirla Date: Wed, 21 Aug 2019 10:26:13 +0300 Subject: [PATCH] [ACA-2140] remove not needed style - this actually improves the display of columns inside the content node selector - increase min-width of datatable cells --- src/app/ui/custom-theme.scss | 2 +- src/app/ui/overrides/adf-style-fixes.theme.scss | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/app/ui/custom-theme.scss b/src/app/ui/custom-theme.scss index 75c762544..0a8ad05b9 100644 --- a/src/app/ui/custom-theme.scss +++ b/src/app/ui/custom-theme.scss @@ -81,7 +81,7 @@ $document-list-selection-color: mat-color($alfresco-ecm-blue, 500); $document-list-background: white; $data-table-dividers-wrapper-border: none; $data-table-thumbnail-width: 35px; -$data-table-cell-min-width: 120px; +$data-table-cell-min-width: 150px; $data-table-cell-min-width--no-grow: 120px; $data-table-cell-min-width--fileSize: 80px !important; $data-table-cell-text-color: mat-color($foreground, text, 0.54); diff --git a/src/app/ui/overrides/adf-style-fixes.theme.scss b/src/app/ui/overrides/adf-style-fixes.theme.scss index 4c9f8a8d9..2bbba83f4 100644 --- a/src/app/ui/overrides/adf-style-fixes.theme.scss +++ b/src/app/ui/overrides/adf-style-fixes.theme.scss @@ -14,13 +14,6 @@ } } - .adf-content-node-selector-content-list .adf-datatable-list { - .adf-datatable-cell { - flex: 0 1 auto; - min-width: 1px; - } - } - adf-permission-list { .adf-display-permission-container { flex: 1; @@ -28,7 +21,7 @@ .adf-datatable-permission { width: 100%; - .adf-datatable-cell--icon, // '--icon' should be replaced with '--image' as in all the other data tables + .adf-datatable-cell--icon, .adf-datatable-cell--image { min-width: $data-table-thumbnail-width; }