diff --git a/demo-shell-ng2/app/components/files/files.component.html b/demo-shell-ng2/app/components/files/files.component.html
index 9d4c45d1a2..a40702660f 100644
--- a/demo-shell-ng2/app/components/files/files.component.html
+++ b/demo-shell-ng2/app/components/files/files.component.html
@@ -131,6 +131,9 @@
+
+
+
@@ -153,4 +156,4 @@
-
+
diff --git a/ng2-components/ng2-alfresco-upload/src/components/file-uploading-dialog.component.css b/ng2-components/ng2-alfresco-upload/src/components/file-uploading-dialog.component.css
index 0fc1d587db..535ceedabb 100644
--- a/ng2-components/ng2-alfresco-upload/src/components/file-uploading-dialog.component.css
+++ b/ng2-components/ng2-alfresco-upload/src/components/file-uploading-dialog.component.css
@@ -6,7 +6,8 @@
display: none !important;
}
-.file-dialog {
+:host .file-dialog {
+ width: 800px;
display: none;
-webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
box-shadow: -2px -1px 8px 3px rgba(0, 0, 0, .2);
@@ -27,7 +28,7 @@
position: fixed;
}
-.file-dialog .header {
+:host .file-dialog .header {
background-color: rgb(31,188,210);
border: 1px transparent solid;
border-bottom: 1px solid #c7c7c7;
@@ -45,13 +46,13 @@
padding: 0px 10px 0px 10px;
}
-.file-dialog .header .title {
+:host .file-dialog .header .title {
float: left;
- min-width: 200px;
+ min-width: 170px;
color: white;
}
-.file-dialog .header .buttons {
+:host .file-dialog .header .buttons {
float: right;
padding: 10px 10px 10px 10px;
text-align: center;
@@ -60,7 +61,7 @@
opacity: 0.5;
}
-.file-dialog .header .close-button {
+:host .file-dialog .header .close-button {
cursor: pointer;
float: left;
height: 35px;
@@ -71,12 +72,12 @@
border: 1px solid transparent;
}
-.file-dialog .header .close-button:hover {
+:host .file-dialog .header .close-button:hover {
border: 1px solid white;
opacity: 1.0;
}
-.file-dialog .header .minimize-button {
+:host .file-dialog .header .minimize-button {
cursor: pointer;
float: left;
height: 35px;
@@ -109,7 +110,7 @@
opacity: 1.0;
}
-.file-dialog .body-dialog {
+:host .file-dialog .body-dialog {
float: left;
height: 100%;
margin-top: -4px;
@@ -118,4 +119,16 @@
border-left: 1px solid #C0C0C0;
max-height: 200px;
overflow-y: auto;
+ width: 99.6%;
}
+
+:host .mdl-data-table th {
+ text-align: left;
+}
+
+
+@media only screen and (min-width: 360px) and (max-width: 640px) {
+ .file-dialog {
+ width: 315px;
+ }
+}
\ No newline at end of file
diff --git a/ng2-components/ng2-alfresco-upload/src/components/file-uploading-dialog.component.html b/ng2-components/ng2-alfresco-upload/src/components/file-uploading-dialog.component.html
index 2c6982cb07..099d9f2e49 100644
--- a/ng2-components/ng2-alfresco-upload/src/components/file-uploading-dialog.component.html
+++ b/ng2-components/ng2-alfresco-upload/src/components/file-uploading-dialog.component.html
@@ -1,4 +1,4 @@
-
+
-
\ No newline at end of file
diff --git a/ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.css b/ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.css
index 14523de31f..6f57c834d2 100644
--- a/ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.css
+++ b/ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.css
@@ -37,13 +37,23 @@
text-align: right;
}
-.truncate {
- width: 300px;
+:host .truncate {
+ margin-left: auto;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
-.mdl-progress{
+:host .mdl-progress{
width: 300px;
}
+
+@media only screen and (min-width: 360px) and (max-width: 640px) {
+ .truncate {
+ max-width: 80px;
+ }
+
+ .mdl-progress {
+ max-width: 80px;
+ }
+}
\ No newline at end of file
diff --git a/ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.html b/ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.html
index c9da002a07..fbb5574ade 100644
--- a/ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.html
+++ b/ng2-components/ng2-alfresco-upload/src/components/file-uploading-list.component.html
@@ -7,7 +7,7 @@
{{'FILE_UPLOAD.FILE_INFO.NAME' | translate}} |
{{'FILE_UPLOAD.FILE_INFO.PROGRESS' | translate}} |
- {{'FILE_UPLOAD.FILE_INFO.SIZE' | translate}} |
+ {{'FILE_UPLOAD.FILE_INFO.SIZE' | translate}} |
{{'FILE_UPLOAD.FILE_INFO.ACTION' | translate}} |
@@ -20,7 +20,7 @@
- {{file.size}} |
+ {{file.size}} |
done
|