diff --git a/css/article.less b/css/article.less index 8b504de..5deb8f1 100644 --- a/css/article.less +++ b/css/article.less @@ -51,12 +51,27 @@ } .dokuwiki h3.toggle { - padding: .2em .5em; + padding: 0; + margin: 0; + padding: .2em .5em; +} + +.dokuwiki .dw__toc h3.toggle { + padding: .2em .5em; + display: flex; + align-items: center; + flex-direction: row-reverse; + justify-content: space-between; } .dokuwiki .toggle strong { - float: right; + /*float: right;*/ margin: 0 .2em; + font-size: 1.5em; + /*position: absolute; + right: 1em;*/ + display:flex; + flex-direction:row-reverse; } [dir=rtl] .dokuwiki .toggle strong { float: left; diff --git a/css/mobile.less b/css/mobile.less index afb6554..26f73ba 100644 --- a/css/mobile.less +++ b/css/mobile.less @@ -186,7 +186,7 @@ #dokuwiki__sidebar > .pad, .dokuwiki div.page { - padding: .5em; + padding: 0; margin:0; } diff --git a/main.php b/main.php index 434bb68..3d6a072 100644 --- a/main.php +++ b/main.php @@ -81,21 +81,19 @@ $showSidebar = $hasSidebar && ($ACT=='show');