GoranSMilovanovic has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/385808 )

Change subject: fix DT width
......................................................................


fix DT width

Change-Id: I6184b4eaae1cf89fdf2621109e70b2c13ed4701d
---
M WDCM_OverviewDashboard/server.R
M WDCM_UsageDashboard/server.R
2 files changed, 14 insertions(+), 14 deletions(-)

Approvals:
  GoranSMilovanovic: Verified; Looks good to me, approved



diff --git a/WDCM_OverviewDashboard/server.R b/WDCM_OverviewDashboard/server.R
index fd1d5fe..21afbfe 100644
--- a/WDCM_OverviewDashboard/server.R
+++ b/WDCM_OverviewDashboard/server.R
@@ -372,10 +372,10 @@
     datatable(wdcmProjectCategory,
     options = list(
       pageLength = 20,
-      autoWidth = TRUE,
+      width = '100%',
       columnDefs = list(list(className = 'dt-center', targets = "_all"))
       ),
-    rownames= FALSE
+    rownames = FALSE
     )
   }) %>% withProgress(message = 'Generating data',
                       min = 0,
@@ -389,10 +389,10 @@
     datatable(dataSet,
               options = list(
                 pageLength = 20,
-                autoWidth = TRUE,
+                width = '100%',
                 columnDefs = list(list(className = 'dt-center', targets = 
"_all"))
               ),
-              rownames= FALSE
+              rownames = FALSE
     )
   }) %>% withProgress(message = 'Generating data',
                       min = 0,
diff --git a/WDCM_UsageDashboard/server.R b/WDCM_UsageDashboard/server.R
index 8cded77..be1df87 100644
--- a/WDCM_UsageDashboard/server.R
+++ b/WDCM_UsageDashboard/server.R
@@ -915,10 +915,10 @@
     datatable(wdcmProject,
               options = list(
                 pageLength = 20,
-                autoWidth = TRUE,
+                width = '100%',
                 columnDefs = list(list(className = 'dt-center', targets = 
"_all"))
               ),
-              rownames= FALSE
+              rownames = FALSE
     )
   }) %>% withProgress(message = 'Generating data',
                       min = 0,
@@ -930,10 +930,10 @@
     datatable(wdcmCategory,
               options = list(
                 pageLength = 20,
-                autoWidth = TRUE,
+                width = '100%',
                 columnDefs = list(list(className = 'dt-center', targets = 
"_all"))
               ),
-              rownames= FALSE
+              rownames = FALSE
     )
   }) %>% withProgress(message = 'Generating data',
                       min = 0,
@@ -945,10 +945,10 @@
     datatable(wdcmProjectCategory,
               options = list(
                 pageLength = 20,
-                autoWidth = TRUE,
+                width = '100%',
                 columnDefs = list(list(className = 'dt-center', targets = 
"_all"))
               ),
-              rownames= FALSE
+              rownames = FALSE
     )
   }) %>% withProgress(message = 'Generating data',
                       min = 0,
@@ -960,10 +960,10 @@
     datatable(wdcmProjectType,
               options = list(
                 pageLength = 20,
-                autoWidth = TRUE,
+                width = '100%',
                 columnDefs = list(list(className = 'dt-center', targets = 
"_all"))
               ),
-              rownames= FALSE
+              rownames = FALSE
     )
   }) %>% withProgress(message = 'Generating data',
                       min = 0,
@@ -975,10 +975,10 @@
     datatable(wdcmProjectTypeCategory,
               options = list(
                 pageLength = 20,
-                autoWidth = TRUE,
+                width = '100%',
                 columnDefs = list(list(className = 'dt-center', targets = 
"_all"))
               ),
-              rownames= FALSE
+              rownames = FALSE
     )
   }) %>% withProgress(message = 'Generating data',
                       min = 0,

-- 
To view, visit https://gerrit.wikimedia.org/r/385808
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6184b4eaae1cf89fdf2621109e70b2c13ed4701d
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wmde/WDCM
Gerrit-Branch: master
Gerrit-Owner: GoranSMilovanovic <goran.milovanovic_...@wikimedia.de>
Gerrit-Reviewer: GoranSMilovanovic <goran.milovanovic_...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to