Skip to content
Snippets Groups Projects
Commit bb33153f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

don't use table display layout

parent a174c2f7
No related branches found
No related tags found
1 merge request!312Resolve "problem with openlayers on screens with h DPI (probably)"
......@@ -290,9 +290,8 @@ function create(params) {
}
params.setServerConnector(ServerConnector);
initGlobals(params);
params.getElement().style.display = "table";
params.getElement().innerHTML = "<div style='vertical-align:middle;display:table-cell;text-align: center'>"
+ "<img src='resources/images/icons/ajax-loader.gif'/>" + "</div>";
params.getElement().innerHTML = "<div style='position:relative; width:100%;height:100%'>"
+ "<img src='resources/images/icons/ajax-loader.gif' style='position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;'/>" + "</div>";
// make sure that we are logged in
return ServerConnector.createSession().then(function () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment