refactor: update the styling for the customer signin

dev
Dinesh Salunke 2023-11-03 13:58:06 +05:30
parent 5dcca71759
commit e8dc135062
1 changed files with 5 additions and 2 deletions

View File

@ -22,7 +22,8 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA * International Registered Trademark & Property of PrestaShop SA
*} *}
<div id="_desktop_user_info" class="w-6 h-6"> <div id="_desktop_user_info" class="relative">
<div class="flex max-w-[200px] justify-end">
{if $logged} {if $logged}
<a <a
class="logout hidden-sm-down" class="logout hidden-sm-down"
@ -42,10 +43,11 @@
<span class="hidden-sm-down">{$customerName}</span> <span class="hidden-sm-down">{$customerName}</span>
</a> </a>
{else} {else}
<a <a
href="{$my_account_url}" href="{$my_account_url}"
title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}" title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}"
rel="nofollow" rel="nofollow"
class="flex w-12 h-12 items-center justify-center"
> >
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-login-2" width="24" height="24" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"> <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-login-2" width="24" height="24" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
@ -55,4 +57,5 @@
</svg> </svg>
</a> </a>
{/if} {/if}
</div>
</div> </div>