adjust the cookie consent layout in small screen.

This commit is contained in:
Ben 2025-03-13 20:54:50 +08:00
parent 62879c3e52
commit fbf62ca30d

View File

@ -6,8 +6,7 @@
@if (_enabled && !Hidden)
{
<div class="gdpr-consent-bar bg-light text-dark @(_showBanner ? "p-3" : "p-0") pe-5 fixed-bottom">
<div class="gdpr-consent-bar bg-light text-dark @(_showBanner ? "p-3 pt-5 pt-sm-3 pe-sm-5" : "p-0") fixed-bottom">
<form method="post" @formname="CookieConsentForm" @onsubmit="async () => await AcceptPolicy()" data-enhance>
@if (_showBanner)
{