]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/components/page-display.js
Rolled tri-layout to page edit and book-create
[bookstack] / resources / assets / js / components / page-display.js
index cbb672222c264cc1ab5114269771989f9f1aa9aa..e7dacea64cc9c82c0e21f8ac565d5e6cf67686c6 100644 (file)
@@ -136,7 +136,7 @@ class PageDisplay {
 
         // Fix the tree as a sidebar
         function stickTree() {
-            $sidebar.width($bookTreeParent.width() + 15);
+            $sidebar.css('width', $bookTreeParent.width());
             $sidebar.addClass("fixed");
             isFixed = true;
         }