Skip to content

Commit a30420a

Browse files
authored
Merge pull request #665 from marsaldev/develop
Fix issue #664
2 parents d38b7be + acf25ff commit a30420a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

modules/ps_customersignin/ps_customersignin.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*}
55

66
<div id="_desktop_user_info">
7-
<div class="user-info">
7+
<div class="user-info d-flex align-items-center">
88
{if $customer.is_logged}
99
<div class="dropdown header-block">
1010
<a

modules/ps_shoppingcart/ps_shoppingcart.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
* file that was distributed with this source code.
44
*}
55
<div id="_desktop_cart">
6-
<div class="header-block blockcart cart-preview {if $cart.products_count> 0}header-block--active{else}inactive{/if}" data-refresh-url="{$refresh_url}">
6+
<div class="header-block d-flex align-items-center blockcart cart-preview {if $cart.products_count> 0}header-block--active{else}inactive{/if}" data-refresh-url="{$refresh_url}">
77
{if $cart.products_count> 0}
8-
<a class="header-block__action-btn" rel="nofollow" href="{$cart_url}" aria-label="{l s='View cart (%d products)' d='Shop.Theme.Checkout' sprintf=[$cart.products_count]}">
8+
<a class="header-block__action-btn position-relative" rel="nofollow" href="{$cart_url}" aria-label="{l s='View cart (%d products)' d='Shop.Theme.Checkout' sprintf=[$cart.products_count]}">
99
{else}
1010
<span class="header-block__action-btn">
1111
{/if}

templates/_partials/header.tpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
{/if}
4040
</div>
4141

42-
<div class="search__mobile d-md-none col-auto">
42+
<div class="search__mobile d-md-none d-flex col-auto">
4343

44-
<div class="header-block">
44+
<div class="header-block d-flex align-items-center">
4545
<a class="header-block__action-btn" href="#" role="button" data-bs-toggle="offcanvas" data-bs-target="#searchCanvas" aria-controls="searchCanvas" aria-label="{l s='Show search bar' d='Shop.Theme.Global'}">
4646
<span class="material-icons header-block__icon">search</span>
4747
</a>
@@ -57,7 +57,7 @@
5757

5858
{hook h='displayTop'}
5959

60-
<div id="_mobile_user_info" class="d-md-none col-auto">
60+
<div id="_mobile_user_info" class="d-md-none d-flex col-auto">
6161
{* JUST PLACEHOLDER FOR RESPONSIVE COMPONENT TO LOAD REAL ONE *}
6262
<div class="header-block">
6363
<span class="header-block__action-btn">
@@ -68,9 +68,9 @@
6868
{* JUST PLACEHOLDER FOR RESPONSIVE COMPONENT TO LOAD REAL ONE *}
6969
</div>
7070

71-
<div id="_mobile_cart" class="d-md-none col-auto">
71+
<div id="_mobile_cart" class="d-md-none col-auto d-flex">
7272
{* JUST PLACEHOLDER FOR RESPONSIVE COMPONENT TO LOAD REAL ONE *}
73-
<div class="header-block">
73+
<div class="header-block d-flex align-items-center">
7474
<span class="header-block__action-btn">
7575
<i class="material-icons header-block__icon" aria-hidden="true">shopping_cart</i>
7676
<span class="header-block__badge">{$cart.products_count}</span>

0 commit comments

Comments
 (0)