Skip to content

Commit

Permalink
Improve Stack Divided Style
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Dec 20, 2022
1 parent 2e5327b commit 262a18d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/frontend/header/stacked.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
</div>
<?php
}
echo '<div class="d-flex flex-grow-1 justify-content-center justify-content-lg-start">';
echo '<div class="d-flex flex-shrink-0 justify-content-center justify-content-lg-start">';
if ($enable_offcanvas && $offcanvas_position === 'offcanvasLeft') { ?>
<?php echo '<div class="d-none d-lg-flex justify-content-start me-4 offcanvas-button '.$offcanvas_position.'">'; ?>
<?php $document->include('offcanvas.trigger', ['offcanvas' => '#astroid-offcanvas', 'visibility' => $offcanvas_togglevisibility, 'effect' => $offcanvas_animation, 'direction' => $offcanvas_direction]); ?>
Expand All @@ -256,14 +256,14 @@

// header block starts
if ($block_1_type == 'position') {
echo '<div class="d-none d-lg-flex w-100 justify-content-end py-2 align-items-center">';
echo '<div class="d-none d-lg-flex w-100 flex-grow-1 justify-content-end py-2 align-items-center">';
echo '<div class="d-flex w-100 justify-content-end header-block-item align-items-center">';
echo $document->position($block_1_position, 'xhtml');
echo '</div>';
echo '</div>';
}
if ($block_1_type == 'custom') {
echo '<div class="d-none d-lg-flex w-100 justify-content-end py-2 align-items-center">';
echo '<div class="d-none d-lg-flex w-100 flex-grow-1 justify-content-end py-2 align-items-center">';
echo '<div class="d-flex w-100 justify-content-end header-block-item align-items-center">';
echo $block_1_custom;
echo '</div>';
Expand Down

0 comments on commit 262a18d

Please sign in to comment.