Merge branch 'fixMissingMobileSidebar' into 'master'
fix mobile sidebar not shown if there is no logo See merge request !27
This commit is contained in:
commit
26a5535e70
2 changed files with 6 additions and 7 deletions
6
main.php
6
main.php
|
@ -89,6 +89,12 @@ $classWideContent = ($ACT === "show") ? "": "wide-content ";
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="claim main-sidebar">
|
||||
<div class="menu-togglelink mobile-only">
|
||||
<a href="#">
|
||||
<span class="sr-out"><?php echo tpl_getLang('a11y_sidebartoggle'); ?></span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?php if (tpl_getConf('logo') && file_exists(mediaFN(tpl_getConf('logo')))){
|
||||
|
||||
|
||||
|
|
|
@ -1,13 +1,6 @@
|
|||
<?php
|
||||
if(!defined('DOKU_INC')) die();
|
||||
|
||||
echo '<div class="menu-togglelink mobile-only">';
|
||||
echo '<a href="#">';
|
||||
//echo inlineSVG(__DIR__ . '/../img/menu.svg');
|
||||
echo '<span class="sr-out">'.tpl_getLang('a11y_sidebartoggle').'</span>';
|
||||
echo '</a>';
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="logo">';
|
||||
\dokuwiki\template\sprintdoc\Template::getInstance()->mainLogo();
|
||||
echo '<hr class="structure" />';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue