aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dokuwiki/lib/tpl/default/main.php2
-rw-r--r--views/default/dokuwiki/css.php4
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php
index be4c47650..a6626732d 100644
--- a/lib/dokuwiki/lib/tpl/default/main.php
+++ b/lib/dokuwiki/lib/tpl/default/main.php
@@ -22,7 +22,7 @@ $page_inline = get_input("inline_page");
if (empty($sidebar_inline)) {
ob_start();
include(dirname(__FILE__).'/main_index.php');
-$content = ob_get_clean();
+$content = '<div>'.ob_get_clean();
}
if (empty($page_inline)) {
diff --git a/views/default/dokuwiki/css.php b/views/default/dokuwiki/css.php
index 52a54e1ce..c8ac82016 100644
--- a/views/default/dokuwiki/css.php
+++ b/views/default/dokuwiki/css.php
@@ -5,3 +5,7 @@ div.dokuwiki input {
div.dokuwiki .header {
margin-bottom: 10px;
}
+
+#sidebartop {
+ position: relative !important;
+}