diff --git a/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts b/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts index a1c6d231f5..da88fceaea 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts @@ -66,13 +66,15 @@ import { + source="createdByUser.displayName" + class="desktop-only"> + format="medium" + class="desktop-only"> @@ -154,7 +156,7 @@ class DocumentListDemo implements OnInit { currentPath: string = '/'; authenticated: boolean; - public host: string = 'http://devproducts-platform.alfresco.me'; + public host: string = 'http://192.168.99.100:8080/'; token: string; diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.css b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.css index b80d63eb94..15e6a9f9c7 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.css +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.css @@ -84,3 +84,31 @@ height: 0; display: block; } + +/* small desktop */ +@media all and (max-width: 1200px) {} + +/* tablet */ +@media all and (max-width: 1024px) {} + +/* mobile phone */ +@media all and (max-width: 768px) { + + :host th.desktop-only .cell-value { + display: none; + } + + :host td.desktop-only .cell-value { + display: none; + } +} + +@media (max-device-width: 768px){ + :host th.desktop-only .cell-value { + display: none; + } + + :host td.desktop-only .cell-value { + display: none; + } +}