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.

Replace <b-tags> - PopupAction

DanielŻuławskid1932bb80f32
diff --git a/src/Web/Grand.Web/Views/Shared/Components/PopupAction/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/PopupAction/Default.cshtml
index 31972b2b5..26a17edd7 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/PopupAction/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/PopupAction/Default.cshtml
@@ -2,7 +2,7 @@
@if (Model.PopupType == Grand.Domain.Messages.PopupType.Banner)
{
<b-modal id="ModalBanner" ref="ModalBanner" centered hide-footer hide-header>
- <b-button class="modal-close" block @@click="$bvModal.hide('ModalBanner')"><b-icon icon="x"></b-icon></b-button>
+ <button class="modal-close" @@click="$bvModal.hide('ModalBanner')"><b-icon icon="x"></b-icon></button>
<div>
@Html.Raw(Model.Body)
</div>
@@ -11,7 +11,7 @@
@if (Model.PopupType == Grand.Domain.Messages.PopupType.InteractiveForm)
{
<b-modal id="ModalBanner" ref="ModalBanner" centered hide-footer hide-header>
- <b-button class="modal-close" block @@click="$bvModal.hide('ModalBanner')"><b-icon icon="x"></b-icon></b-button>
+ <button class="modal-close" @@click="$bvModal.hide('ModalBanner')"><b-icon icon="x"></b-icon></button>
<form asp-route="PopupInteractiveForm" method="post" id="interactive-form">
<div id="action-body-form">@Html.Raw(Model.Body)</div>
</form>