style(css): update Ezoic ad styling for centering and constraining

This commit is contained in:
Fatih Kadir Akın
2026-03-18 18:05:17 +03:00
parent ce9ff6fad6
commit 5686ff9e75
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -867,3 +867,9 @@
font-weight: 600;
}
/* Ezoic ad content: center and constrain injected ad creatives */
.ezoic-ad-content * {
max-width: 100% !important;
margin-left: auto !important;
margin-right: auto !important;
}
+1 -1
View File
@@ -40,7 +40,7 @@ export function EzoicPlaceholder({ id }: EzoicPlaceholderProps) {
{t("ad")}
</span>
</div>
<div className="max-w-full overflow-hidden">
<div className="ezoic-ad-content overflow-hidden flex items-center justify-center">
{isRendered && <div id={`ezoic-pub-ad-placeholder-${id}`} />}
</div>
</div>