changed : affichage d'un titre au menu en mode mobile

This commit is contained in:
Zatalyz 2022-07-29 11:41:02 +02:00
parent dc9eb87cff
commit b839f88e5b
2 changed files with 12 additions and 1 deletions

View file

@ -54,11 +54,16 @@
#dokuwiki__sidebar h3.toggle {
font-size: 1em;
display:flex;
flex-direction: row-reverse;
align-items: center;
justify-content: space-between;
&.closed {
margin: 0;
padding-bottom: 0;
background-color: @ini_background;
}
&.open {
border-bottom: 1px solid @ini_border;
@ -68,6 +73,7 @@
}
}
.showSidebar #dokuwiki__content, #dokuwiki__content {
float: none;
margin-left: 0;

View file

@ -83,7 +83,12 @@ $showSidebar = $hasSidebar && ($ACT=='show');
<?php if($showSidebar): ?>
<nav id="dokuwiki__sidebar">
<div class="biseau_left_top nomobile"></div>
<h3 class="toggle"><?php //echo $lang['sidebar'] ?></h3>
<h3 class="toggle"><span class="menu_mobile">
<?php
$kh_sidebar = tpl_getLang('kh_sidebar');
echo $kh_sidebar ;
//echo $lang['sidebar'] ;
?></span></h3>
<div class="pad sidebar include group">
<div class="content"><div class="group">
<?php tpl_flush() ?>