From d8db1ae0b35b209362a4f2127401c2ef6c6fd98d Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Thu, 23 Jun 2016 15:40:38 +0100 Subject: [PATCH] #263 improve responsiveness --- .../src/components/document-list.css | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) 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 15e6a9f9c7..eab03ea4c8 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.css +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.css @@ -93,22 +93,13 @@ /* mobile phone */ @media all and (max-width: 768px) { - - :host th.desktop-only .cell-value { - display: none; - } - - :host td.desktop-only .cell-value { + .desktop-only { display: none; } } @media (max-device-width: 768px){ - :host th.desktop-only .cell-value { - display: none; - } - - :host td.desktop-only .cell-value { + .desktop-only { display: none; } }