mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#263 improve responsiveness
This commit is contained in:
@@ -66,13 +66,15 @@ import {
|
|||||||
</content-column>
|
</content-column>
|
||||||
<content-column
|
<content-column
|
||||||
title="{{'DOCUMENT_LIST.COLUMNS.CREATED_BY' | translate}}"
|
title="{{'DOCUMENT_LIST.COLUMNS.CREATED_BY' | translate}}"
|
||||||
source="createdByUser.displayName">
|
source="createdByUser.displayName"
|
||||||
|
class="desktop-only">
|
||||||
</content-column>
|
</content-column>
|
||||||
<content-column
|
<content-column
|
||||||
title="{{'DOCUMENT_LIST.COLUMNS.CREATED_ON' | translate}}"
|
title="{{'DOCUMENT_LIST.COLUMNS.CREATED_ON' | translate}}"
|
||||||
source="createdAt"
|
source="createdAt"
|
||||||
type="date"
|
type="date"
|
||||||
format="medium">
|
format="medium"
|
||||||
|
class="desktop-only">
|
||||||
</content-column>
|
</content-column>
|
||||||
</content-columns>
|
</content-columns>
|
||||||
<content-actions>
|
<content-actions>
|
||||||
@@ -154,7 +156,7 @@ class DocumentListDemo implements OnInit {
|
|||||||
currentPath: string = '/';
|
currentPath: string = '/';
|
||||||
authenticated: boolean;
|
authenticated: boolean;
|
||||||
|
|
||||||
public host: string = 'http://devproducts-platform.alfresco.me';
|
public host: string = 'http://192.168.99.100:8080/';
|
||||||
|
|
||||||
token: string;
|
token: string;
|
||||||
|
|
||||||
|
@@ -84,3 +84,31 @@
|
|||||||
height: 0;
|
height: 0;
|
||||||
display: block;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user