From 339e171ec7fa1796446ae7fbbfca3be54939e2b0 Mon Sep 17 00:00:00 2001 From: luxick Date: Tue, 17 Mar 2026 10:58:03 +0100 Subject: [PATCH] Update edit button placement --- css/_edit.css | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/css/_edit.css b/css/_edit.css index 51461ab..42d8996 100755 --- a/css/_edit.css +++ b/css/_edit.css @@ -139,39 +139,18 @@ div.picker button.toolbutton { ********************************************************************/ .dokuwiki .section-heading-row { - position: relative; -} - -.dokuwiki .section-heading-row > h1, -.dokuwiki .section-heading-row > h2, -.dokuwiki .section-heading-row > h3, -.dokuwiki .section-heading-row > h4, -.dokuwiki .section-heading-row > h5, -.dokuwiki .section-heading-row > h6 { - padding-right: 1.75em; -} - -[dir=rtl] .dokuwiki .section-heading-row > h1, -[dir=rtl] .dokuwiki .section-heading-row > h2, -[dir=rtl] .dokuwiki .section-heading-row > h3, -[dir=rtl] .dokuwiki .section-heading-row > h4, -[dir=rtl] .dokuwiki .section-heading-row > h5, -[dir=rtl] .dokuwiki .section-heading-row > h6 { - padding-right: 0; - padding-left: 1.75em; + display: flex; + align-items: baseline; } .dokuwiki .section-heading-row > .secedit { - display: block; - position: absolute; - top: 50%; - right: 0; - transform: translateY(-50%); + flex-shrink: 0; + margin-left: .4em; } [dir=rtl] .dokuwiki .section-heading-row > .secedit { - right: auto; - left: 0; + margin-left: 0; + margin-right: .4em; } .dokuwiki .section-heading-row > .secedit form {