Skip to content

Commit

Permalink
Fix issue Color mode switcher always visible in Sticky Header #660
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed May 13, 2024
1 parent 929d53e commit cbb319a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions framework/frontend/header/sticky.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,6 @@
?>
</div>
<?php endif; ?>
<?php
//Color Mode
if ($color_mode) {
echo '<div class="d-flex justify-content-end align-items-center ms-4 astroid-color-mode">';
$document->include('colormode');
echo '</div>';
}
?>
<?php if ($enable_offcanvas) { ?>
<?php echo '<div class="'.($offcanvas_position === 'offcanvasRight' ? 'd-flex' : 'd-'.$header_breakpoint.'-none d-flex').' ms-4 offcanvas-button offcanvasRight">'; ?>
<?php $document->include('offcanvas.trigger', ['offcanvas' => '#astroid-offcanvas', 'visibility' => $offcanvas_togglevisibility, 'effect' => $offcanvas_animation, 'direction' => $offcanvas_direction]); ?>
Expand Down

0 comments on commit cbb319a

Please sign in to comment.