Skip to content

Commit

Permalink
Update address add button
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Oct 13, 2023
1 parent 6497a44 commit eabb675
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions example-templates/dist/shop/_private/address/list.twig
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@
</div>
{% endfor %}
{% if showAdd %}
<a href="{{ addUrl }}" class="block rounded-lg hover:shadow-md w-full">
<div class="flex items-center justify-center h-full border border-gray-200 bg-white rounded-lg shadow-sm p-4 w-full group hover:shadow-md">
<span class="group-hover:underline">Add Address</span>
<a href="{{ addUrl }}" class="block rounded-lg border border-gray-200 bg-white hover:shadow-md w-full relative">
<div class="absolute top-0 left-0 right-0 bottom-0 flex items-center">
<div class="flex items-center justify-center h-full p-4 w-full group">
<span class="group-hover:underline">Add Address</span>
</div>
</div>
</a>
{% endif %}
Expand Down
8 changes: 5 additions & 3 deletions example-templates/src/shop/_private/address/list.twig
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@
</div>
{% endfor %}
{% if showAdd %}
<a href="{{ addUrl }}" class="block rounded-lg hover:shadow-md w-full">
<div class="flex items-center justify-center h-full border border-gray-200 bg-white rounded-lg shadow-sm p-4 w-full group hover:shadow-md">
<span class="group-hover:underline">Add Address</span>
<a href="{{ addUrl }}" class="block rounded-lg border border-gray-200 bg-white hover:shadow-md w-full relative">
<div class="absolute top-0 left-0 right-0 bottom-0 flex items-center">
<div class="flex items-center justify-center h-full p-4 w-full group">
<span class="group-hover:underline">Add Address</span>
</div>
</div>
</a>
{% endif %}
Expand Down

0 comments on commit eabb675

Please sign in to comment.