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.

CatalogProductView - minor changes

DanielŻuławski2a2a9e598dfd
diff --git a/src/Web/Grand.Web/Views/Catalog/_CatalogProductListViewVue.cshtml b/src/Web/Grand.Web/Views/Catalog/_CatalogProductListViewVue.cshtml
index 16915d949..0aebd2913 100644
--- a/src/Web/Grand.Web/Views/Catalog/_CatalogProductListViewVue.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/_CatalogProductListViewVue.cshtml
@@ -18,11 +18,11 @@
</template>
</div>
<div class="card-body">
- <h3 class="card-title mb-0">
+ <div class="card-title h3 mb-0">
<a :href="Model.Url">
{{Model.Name}}
</a>
- </h3>
+ </div>
<template v-if="Model.ShowSku && Model.Sku !== null">
<span class="sku">{{Model.Sku}}</span>
</template>
diff --git a/src/Web/Grand.Web/Views/Shared/_CatalogProductViewVue.cshtml b/src/Web/Grand.Web/Views/Shared/_CatalogProductViewVue.cshtml
index 1f817d1e4..9a1f51cd5 100644
--- a/src/Web/Grand.Web/Views/Shared/_CatalogProductViewVue.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/_CatalogProductViewVue.cshtml
@@ -17,11 +17,11 @@
</template>
</div>
<div class="card-body">
- <h3 class="card-title mb-0">
+ <div class="card-title h3 mb-0">
<a :href="Model.Url">
{{Model.Name}}
</a>
- </h3>
+ </div>
<template v-if="Model.ShowSku && Model.Sku !== null">
<span class="sku">{{Model.Sku}}</span>
</template>
diff --git a/src/Web/Grand.Web/Views/Shared/_Layout.cshtml b/src/Web/Grand.Web/Views/Shared/_Layout.cshtml
index 4312ce4bf..e1a1ab55d 100644
--- a/src/Web/Grand.Web/Views/Shared/_Layout.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/_Layout.cshtml
@@ -34,7 +34,6 @@
<div class="page-loader-container">
<div class="page-loader"></div>
</div>
- <partial name="_Notifications" />
<vc:get-coordinate></vc:get-coordinate>
<partial name="Header" />
<b-container class="main-container">
@@ -49,6 +48,7 @@
</b-container>
@await Component.InvokeAsync("Footer")
<partial name="_Cookie" />
+ <partial name="_Notifications" />
</div>
@await Component.InvokeAsync("Widget", new { widgetZone = "body_end_html_tag_before" })
<resources asp-type="ScriptFooter" />
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css b/src/Web/Grand.Web/wwwroot/theme/css/common/common.css
index 1f358f098..9dfaa0abf 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/common/common.css
@@ -1018,12 +1018,11 @@ input:checked ~ .color-container .color::before {
.product-box .quick-view-button {
position: absolute;
bottom: 0;
- left: 1px;
- width: calc(100% - 2px);
+ left: 0;
+ width: 100%;
font-size: 16px;
font-weight: 500;
text-transform: uppercase;
- border: 0;
border-radius: 0;
transform: translateY(100%);
-webkit-transform: translateY(100%);
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css b/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css
index 4e109f3e0..b6952ded9 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css
@@ -1157,12 +1157,11 @@ input:checked ~ .color-container .color::before {
.product-box .quick-view-button {
position: absolute;
bottom: 0;
- left: 1px;
- width: calc(100% - 2px);
+ left: 0;
+ width: 100%;
font-size: 16px;
font-weight: 500;
text-transform: uppercase;
- border: 0;
border-radius: 0;
transform: translateY(100%);
-webkit-transform: translateY(100%);