Correction des bugs sur la prévisualisation des articles : ajout du sommaire, largeur de l'aperçu sans marge étrange

This commit is contained in:
Zatalyz 2020-06-03 18:35:29 +02:00
parent 4232a9a765
commit 401d5b8df1
3 changed files with 9 additions and 15 deletions

View file

@ -64,6 +64,10 @@
justify-content: space-between;
}
.dokuwiki .dw__toc h3.toggle::before {
content:none;
}
.dokuwiki .toggle strong {
/*float: right;*/
margin: 0 .2em;

View file

@ -308,21 +308,11 @@ th {
padding: 0 2em;
}
.dokuwiki.hasSidebar div.preview {
border-right: @ini_sidebar_width solid @ini_background_alt;
}
[dir=rtl] .dokuwiki.hasSidebar div.preview {
border-right-width: 0;
border-left: @ini_sidebar_width solid @ini_background_alt;
}
.dokuwiki div.preview div.pad {
padding: 1.556em 0 2em;
}
/*____________ changes to _imgdetail ____________*/
#dokuwiki__detail {

View file

@ -83,7 +83,8 @@ $showSidebar = $hasSidebar && ($ACT=='show');
<!-- ********** Sidebar ********** -->
<?php if($showSidebar): ?>
<nav id="dokuwiki__sidebar">
<div class="biseau_left_top"></div>
<div class="biseau_left_top nomobile"></div>
<h3 class="toggle"><?php //echo $lang['sidebar'] ?></h3>
<div class="pad sidebar include group">
<div class="content"><div class="group">
<?php tpl_flush() ?>
@ -133,9 +134,9 @@ $showSidebar = $hasSidebar && ($ACT=='show');
<!-- wikipage start -->
<?php tpl_toc(false) ?>
<?php tpl_toc(true) ?>
<article class="kharticle">
<?php tpl_content(false) ?>
<?php tpl_content(true) ?>
</article>
<!-- wikipage stop -->
<?php tpl_includeFile('pagefooter.html') ?>
@ -187,8 +188,7 @@ $showSidebar = $hasSidebar && ($ACT=='show');
'revert' => tpl_action('revert', true, 'li', true, '<span>', '</span>'),
'revisions' => tpl_action('revisions', true, 'li', true, '<span>', '</span>'),
'backlink' => tpl_action('backlink', true, 'li', true, '<span>', '</span>'),
'subscribe' => tpl_action('subscribe', true, 'li', true, '<span>', '</span>'),
//'top' => tpl_action('top', true, 'li', true, '<span>', '</span>')
'subscribe' => tpl_action('subscribe', true, 'li', true, '<span>', '</span>')
)
);