diff --git a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/application/mainarea/report/ReportAreaView.java b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/application/mainarea/report/ReportAreaView.java index 24530c7..cc57ad3 100644 --- a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/application/mainarea/report/ReportAreaView.java +++ b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/application/mainarea/report/ReportAreaView.java @@ -85,6 +85,7 @@ public class ReportAreaView extends ViewWithUiHandlers } TabPanel tabPanel = new TabPanel(); + tabPanel.addStyleName(resources.uiDataCss().uiDataReportTabPanel()); boolean first = true; for (String category : categories.keySet()) { Tab tab = new Tab(); diff --git a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/AppResources.java b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/AppResources.java index 554fd9c..f0db263 100644 --- a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/AppResources.java +++ b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/AppResources.java @@ -34,6 +34,8 @@ public interface AppResources extends ClientBundle { String uiDataExploreTree(); String uiDataReportPanel(); + + String uiDataReportTabPanel(); String uiDataChartWrapper(); diff --git a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/uiData.css b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/uiData.css index 8a1daeb..bff001c 100644 --- a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/uiData.css +++ b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/uiData.css @@ -50,11 +50,20 @@ } + + + /* Report*/ .uiDataReportPanel { float: left; } +/* TabPanel */ +.uiDataReportTabPanel { + max-width: 800px; +} + + /* Chart */ .uiDataChartWrapper { width: 800px;