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; justify-content: space-between;
} }
.dokuwiki .dw__toc h3.toggle::before {
content:none;
}
.dokuwiki .toggle strong { .dokuwiki .toggle strong {
/*float: right;*/ /*float: right;*/
margin: 0 .2em; margin: 0 .2em;

View file

@ -308,21 +308,11 @@ th {
padding: 0 2em; 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 { .dokuwiki div.preview div.pad {
padding: 1.556em 0 2em; padding: 1.556em 0 2em;
} }
/*____________ changes to _imgdetail ____________*/ /*____________ changes to _imgdetail ____________*/
#dokuwiki__detail { #dokuwiki__detail {

View file

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