moved rule into file .css

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@158433 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2017-11-13 14:50:20 +00:00
parent 7ff7ec0d5b
commit 7fae20fb28
2 changed files with 13 additions and 2 deletions

View File

@ -18,7 +18,6 @@ import org.gcube.portlets.widgets.wsexplorer.shared.Item;
import org.gcube.portlets.widgets.wsexplorer.shared.ItemType;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.user.client.ui.DockPanel;
import com.google.gwt.user.client.ui.FlowPanel;
@ -217,7 +216,12 @@ public class WorkspaceResourcesExplorerPanelPaginated extends WorkspaceResources
add(breadcrumbs, DockPanel.NORTH);
setCellHeight(breadcrumbs, offsetBreadcrumb+"px");
centerDock = new FlowPanel();
centerDock.getElement().getStyle().setOverflowY(Overflow.AUTO);
centerDock.addStyleName("we-dock-center-panel");
// centerDock.getElement().getStyle().setOverflowY(Overflow.AUTO);
// centerDock.getElement().getStyle().setBorderWidth(1.0, Unit.PX);
// centerDock.getElement().getStyle().setBorderStyle(BorderStyle.SOLID);
// centerDock.getElement().getStyle().setBorderColor("#DDD");
centerDock.add(wsExplorerPaginated.getCellPanel());
add(centerDock, DockPanel.CENTER);
add(wsExplorerPaginated.getPagerPanel(), DockPanel.SOUTH);

View File

@ -189,6 +189,13 @@
vertical-align: middle !important;
}
/***** WS EXPLORER DOCK PANEL - CENTER FLOW PANEL *****/
.we-dock-center-panel {
overflow-y: auto !important;
border: 1px solid #DDD;
}
/******* END TABLE ********/
/* .adaptiveHeight {