diff --git a/demo-shell-ng2/app/components/search/search.component.ts b/demo-shell-ng2/app/components/search/search.component.ts index 77067b5ff6..2bc7c5302c 100644 --- a/demo-shell-ng2/app/components/search/search.component.ts +++ b/demo-shell-ng2/app/components/search/search.component.ts @@ -36,6 +36,11 @@ declare let __moduleName: string; :host tbody tr { cursor: pointer; } + @media screen and (max-width: 600px) { + :host .col-modified-at, :host .col-modified-by { + display: none; + } + } `], directives: [ ALFRESCO_SEARCH_DIRECTIVES, VIEWERCOMPONENT ] }) diff --git a/ng2-components/ng2-alfresco-search/src/components/alfresco-search.component.html b/ng2-components/ng2-alfresco-search/src/components/alfresco-search.component.html index 54f0371a7c..75f2147f21 100644 --- a/ng2-components/ng2-alfresco-search/src/components/alfresco-search.component.html +++ b/ng2-components/ng2-alfresco-search/src/components/alfresco-search.component.html @@ -4,13 +4,13 @@ - + {{'SEARCH.RESULTS.COLUMNS.NAME' | translate}} - + {{'SEARCH.RESULTS.COLUMNS.MODIFIED_BY' | translate}} - + {{'SEARCH.RESULTS.COLUMNS.MODIFIED_AT' | translate}} @@ -19,12 +19,12 @@ - {{result.entry.name}} - {{result.entry.modifiedByUser.displayName}} - {{result.entry.modifiedAt | date}} + {{result.entry.modifiedAt | date}}