From 1693e3432951f79dc9755772b07961d7f65720cb Mon Sep 17 00:00:00 2001 From: luxick Date: Fri, 30 Jan 2026 17:11:26 +0100 Subject: [PATCH] Hide edit buttons --- css/_edit.css | 21 ++++++--------------- main.php | 7 +++---- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/css/_edit.css b/css/_edit.css index 4e68100..7ad17f1 100755 --- a/css/_edit.css +++ b/css/_edit.css @@ -122,21 +122,12 @@ div.picker button.toolbutton { /* section edit buttons ********************************************************************/ +/* Hidden for now - positioning was problematic */ .dokuwiki .secedit { - float: right; - margin-top: -1.4em; -} -[dir=rtl] .dokuwiki .secedit { - float: left; -} -.dokuwiki .secedit button { - font-size: 75%; + display: none; } -/* style for section highlighting */ -.dokuwiki div.section_highlight { - margin: 0 -1em; /* negative side margin = side padding + side border */ - padding: 0 .5em; - border: solid @ini_background_alt; - border-width: 0 .5em; -} +/* Sidebar should never show section edit buttons */ +.dokuwiki #dokuwiki__aside .secedit { + display: none; +} \ No newline at end of file diff --git a/main.php b/main.php index 5769477..6d7549b 100755 --- a/main.php +++ b/main.php @@ -1,11 +1,10 @@ - * @author Clarence Lee + * @link https://git.luxick.de/luxick/luxtools-template + * @author luxick * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */