X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/82d463191442b0931e0c51c0cf4c2ef1383b400b..e604fe43fe077291ff4d4bd528eb48ef6bec6d21:/project/templates/explorer/file_xml.html?ds=inline diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index b78e3dee..db00e6a8 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -19,18 +19,21 @@ function resizePanels() { $('iframe').width($(window).width() - $('#sidebar').outerWidth()); $('iframe').height($(window).height() - 100); - $('#images-wrap, #toggle-sidebar').height($(window).height() - 100); - $('#images-wrap').width($('#sidebar').width() - 8); + $('#toggle-sidebar').height($(window).height() - 55); + $('#images-wrap').height($(window).height() - 82) + $('#images-wrap, #sidebar-toolbar').width($('#sidebar').width() - 10); } $('#toggle-sidebar').toggle(function() { $('#images-wrap').width(480); $('#sidebar').width(488); $('#images-wrap').data('lazyload:lastCheckedScrollTop', -10000); + $('#sidebar-toolbar').width(480); resizePanels(); }, function() { $('#images-wrap').width(0); $('#sidebar').width(8); + $('#sidebar-toolbar').width(0); resizePanels(); }) @@ -114,19 +117,28 @@ {% block breadcrumbs %}Platforma Redakcyjna ❯ plik {{ hash }}{% endblock breadcrumbs %} {% block maincontent %} - {% toolbar %} -