diff --git a/css/mobile.less b/css/mobile.less index e1ce416..e235978 100644 --- a/css/mobile.less +++ b/css/mobile.less @@ -54,11 +54,16 @@ #dokuwiki__sidebar h3.toggle { font-size: 1em; + display:flex; + flex-direction: row-reverse; + align-items: center; + justify-content: space-between; &.closed { margin: 0; padding-bottom: 0; background-color: @ini_background; + } &.open { border-bottom: 1px solid @ini_border; @@ -68,6 +73,7 @@ } } + .showSidebar #dokuwiki__content, #dokuwiki__content { float: none; margin-left: 0; diff --git a/main.php b/main.php index 7c737b6..40285bb 100644 --- a/main.php +++ b/main.php @@ -83,7 +83,12 @@ $showSidebar = $hasSidebar && ($ACT=='show');