forked from brooksbingham/theme-elegance
refactor: update my-accounts address section page
parent
6adb6d24e9
commit
7a6702dfbf
|
@ -1953,6 +1953,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.max-md\:w-full {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.max-md\:max-w-full {
|
.max-md\:max-w-full {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{block name='address_block_item_actions'}
|
{block name='address_block_item_actions'}
|
||||||
<div class="address-footer flex gap-2">
|
<div class="address-footer flex flex-col gap-2">
|
||||||
<a href="{url entity=address id=$address.id}" data-link-action="edit-address" >
|
<a href="{url entity=address id=$address.id}" data-link-action="edit-address" >
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-pencil" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" /><path d="M13.5 6.5l4 4" /></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-pencil" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" /><path d="M13.5 6.5l4 4" /></svg>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -41,9 +41,8 @@
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<div class="addresses-footer">
|
<div class="addresses-footer flex mt-4">
|
||||||
<a href="{$urls.pages.address}" data-link-action="add-address" class="flex flex-col items-center">
|
<a href="{$urls.pages.address}" data-link-action="add-address" class=" max-md:w-full uppercase py-2 px-8 font-medium text-center border border-blue-950 text-blue-950 hover:text-blue-900 hover:border-blue-900">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-pencil-plus" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" /><path d="M13.5 6.5l4 4" /><path d="M16 19h6" /><path d="M19 16v6" /></svg>
|
|
||||||
<span>{l s='Create new address' d='Shop.Theme.Actions'}</span>
|
<span>{l s='Create new address' d='Shop.Theme.Actions'}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue