Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

#73 - fixed problem with "Add new" button on addresses

DanielŻuławski79d72dc4634c
diff --git a/src/Web/Grand.Web/Views/Account/Addresses.cshtml b/src/Web/Grand.Web/Views/Account/Addresses.cshtml
index ab669a642..bead5f27d 100644
--- a/src/Web/Grand.Web/Views/Account/Addresses.cshtml
+++ b/src/Web/Grand.Web/Views/Account/Addresses.cshtml
@@ -13,13 +13,13 @@
}
<div class="page account-page address-list-page pl-lg-3 pt-lg-0 pt-3">
@Html.AntiForgeryToken()
- <button class="btn btn-info add-address-button float-sm-right mt-2" onclick="location.href='@Url.RouteUrl("CustomerAddressAdd")'">
+ <h1 class="h2 generalTitle">@Loc["Account.CustomerAddresses"]</h1>
+ <button class="btn btn-info add-address-button my-2" onclick="location.href='@Url.RouteUrl("CustomerAddressAdd")'">
<b-icon icon="clipboard-plus"></b-icon> @Loc["Common.AddNew"]
</button>
- <h1 class="h2 generalTitle">@Loc["Account.CustomerAddresses"]</h1>
@if (Model.Addresses.Any())
{
- <div class="col-12" class="px-0">
+ <div class="col-12 px-0">
<div class="row address-list">
@for (int i = 0; i < Model.Addresses.Count; i++)
{