ref 12119:AccountingDashboard - Create a new Accounting Dashboard

https://support.d4science.org/issues/12119

Fixed offsetLeft and offsetTop issue.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/accounting-dashboard@169898 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-07-23 16:24:30 +00:00
parent 44997fa4fc
commit f6c3c046de
3 changed files with 12 additions and 0 deletions

View File

@ -85,6 +85,7 @@ public class ReportAreaView extends ViewWithUiHandlers<ReportAreaPresenter>
} }
TabPanel tabPanel = new TabPanel(); TabPanel tabPanel = new TabPanel();
tabPanel.addStyleName(resources.uiDataCss().uiDataReportTabPanel());
boolean first = true; boolean first = true;
for (String category : categories.keySet()) { for (String category : categories.keySet()) {
Tab tab = new Tab(); Tab tab = new Tab();

View File

@ -34,6 +34,8 @@ public interface AppResources extends ClientBundle {
String uiDataExploreTree(); String uiDataExploreTree();
String uiDataReportPanel(); String uiDataReportPanel();
String uiDataReportTabPanel();
String uiDataChartWrapper(); String uiDataChartWrapper();

View File

@ -50,11 +50,20 @@
} }
/* Report*/ /* Report*/
.uiDataReportPanel { .uiDataReportPanel {
float: left; float: left;
} }
/* TabPanel */
.uiDataReportTabPanel {
max-width: 800px;
}
/* Chart */ /* Chart */
.uiDataChartWrapper { .uiDataChartWrapper {
width: 800px; width: 800px;