Fix ACP page header
authorMatthias Schmidt <gravatronics@live.com>
Fri, 4 Dec 2015 22:00:49 +0000 (23:00 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 4 Dec 2015 22:00:49 +0000 (23:00 +0100)
See 537c52ddb0

wcfsetup/install/files/acp/templates/pageHeader.tpl

index 3044c2d9b0a001ddeb5a46b406e4507f0987d757..5c857d9797e34e3a2591749bc46f7fc74213642d 100644 (file)
@@ -1,25 +1,27 @@
-<header id="pageHeader" class="pageHeader">
-       <div>
-               <div class="layoutBoundary">
-                       {include file='pageLogo'}
-                       
-                       {include file='pageSearchArea'}
-                       
-                       {include file='pageMenu'}
-                       
-                       {include file='pageMenuUser'}
+<div class="pageHeaderContainer">
+       <header id="pageHeader" class="pageHeader">
+               <div>
+                       <div class="layoutBoundary">
+                               {include file='pageLogo'}
+
+                               {include file='pageSearchArea'}
+
+                               {include file='pageMenu'}
+
+                               {include file='pageMenuUser'}
+                       </div>
                </div>
-       </div>
-       
-       <script data-relocate="true">
-               var header = elById('pageHeader');
-               header.style.setProperty('min-height', header.clientHeight + 'px');
-               
-               function stickyHeader() {
-                       header.classList[(document.body.scrollTop > 50) ? 'add' : 'remove']('sticky');
-               }
-               
-               stickyHeader();
-               window.addEventListener('scroll', stickyHeader);
-       </script>
-</header>
+
+               <script data-relocate="true">
+                       var header = elById('pageHeader');
+                       header.style.setProperty('min-height', header.clientHeight + 'px');
+
+                       function stickyHeader() {
+                               header.classList[(document.body.scrollTop > 50) ? 'add' : 'remove']('sticky');
+                       }
+
+                       stickyHeader();
+                       window.addEventListener('scroll', stickyHeader);
+               </script>
+       </header>
+</div>
\ No newline at end of file