From b0df08e2753e34829c2d27f82d25807a4f5bd4b8 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Tue, 30 Jul 2013 15:55:34 +0200
Subject: [PATCH] make sure calculations are correct

---
 lib/tpl/dokuwiki/css/structure.less | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/tpl/dokuwiki/css/structure.less b/lib/tpl/dokuwiki/css/structure.less
index 3f22f57e3..f24440f08 100644
--- a/lib/tpl/dokuwiki/css/structure.less
+++ b/lib/tpl/dokuwiki/css/structure.less
@@ -67,14 +67,14 @@ body {
 
 .showSidebar #dokuwiki__content {
     float: right;
-    margin-left: -@ini_sidebar_width;
+    margin-left: (-1 * @ini_sidebar_width);
     width: 100%;
 }
 
 [dir=rtl] .showSidebar #dokuwiki__content {
     float: left;
     margin-left: 0;
-    margin-right: -@ini_sidebar_width;
+    margin-right: (-1 * @ini_sidebar_width);
 }
 
 .showSidebar #dokuwiki__content > .pad {
-- 
GitLab