]> 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 a76160247e768df6e1fe7d08719dd1bf805a8ad7..e7dacea64cc9c82c0e21f8ac565d5e6cf67686c6 100644 (file)
@@ -136,7 +136,7 @@ class PageDisplay {
 
         // Fix the tree as a sidebar
         function stickTree() {
-            $sidebar.width($bookTreeParent.width() - 32);
+            $sidebar.css('width', $bookTreeParent.width());
             $sidebar.addClass("fixed");
             isFixed = true;
         }