restore search at head

This commit is contained in:
prx 2023-10-24 14:09:16 +02:00
parent 531f9615e4
commit 210ed73368
2 changed files with 4 additions and 10 deletions

View File

@ -32,12 +32,6 @@
cursor: pointer;
}
#dokuwiki__sidebar_content,
#dokuwiki__searchform {
margin-bottom: 1em;
padding: 1em;
border: 1px solid var(--border);
border-radius: var(--standard-border-radius);
}
#dokuwiki__sidebar:target {
opacity: 1;
visibility: visible;

View File

@ -59,6 +59,10 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
<p class="claim"><?php echo $conf['tagline'] ?></p>
<?php endif ?>
<div id="dokuwiki__searchform">
<?php tpl_searchform() ?>
</div>
<!-- TOC AND TOOLS IN SIDENAV -->
<a id="dokuwiki__sidebar_show_btn" class="button" href="#dokuwiki__sidebar" class="button" ></a>
<div id="dokuwiki__sidebar" aria-labelledby="dokuwiki__sitetools_heading">
@ -73,10 +77,6 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
<?php endif; ?>
</div>
<div id="dokuwiki__searchform">
<?php tpl_searchform() ?>
</div>
<details id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools_heading">
<summary id="dokuwiki__pagetools_heading"><?php echo $lang['tools'] ?></summary>
<ul>