simplify sidebar CSS, position it relative to the editor tabs

This commit is contained in:
El RIDO
2020-06-27 14:17:48 +02:00
parent 8537f396b3
commit 283d85c7cf
2 changed files with 11 additions and 17 deletions

View File

@@ -452,10 +452,6 @@ endif;
<p><?php echo I18n::_('The memory lets you remember different paste links. The memory is unique to each website and device.'); ?></p>
</div>
<section class="container">
<button id="menu-toggle" class="btn btn-<?php echo $isDark ? 'warning' : 'default'; ?>">
<span class="glyphicon glyphicon-menu-up" aria-hidden="true"></span>
<?php echo I18n::_('Memory'); ?>
</button>
<?php
if (strlen($NOTICE)):
?>
@@ -538,6 +534,10 @@ if (strlen($URLSHORTENER)):
endif;
?>
</div>
<button id="menu-toggle" class="btn btn-<?php echo $isDark ? 'warning' : 'default'; ?>">
<span class="glyphicon glyphicon-menu-up" aria-hidden="true"></span>
<?php echo I18n::_('Memory'); ?>
</button>
<ul id="editorTabs" class="nav nav-tabs hidden">
<li role="presentation" class="active"><a role="tab" aria-selected="true" aria-controls="editorTabs" id="messageedit" href="#"><?php echo I18n::_('Editor'); ?></a></li>
<li role="presentation"><a role="tab" aria-selected="false" aria-controls="editorTabs" id="messagepreview" href="#"><?php echo I18n::_('Preview'); ?></a></li>