Fix trademark rounded corners in embed (#3874)

This commit is contained in:
Zeno Kapitein
2025-12-16 15:10:47 +01:00
committed by GitHub
parent 381728970e
commit bd11c0d21b
2 changed files with 5 additions and 6 deletions
@@ -58,7 +58,7 @@ export async function EmbeddableRootLayout({
{children}
{context.customization.trademark.enabled ? (
<TrademarkLink
className="rounded-none border-tint-solid/3 border-t bg-tint-solid/1 px-4 py-2.5 text-tint/8 ring-0"
className="border-tint-solid/3 border-t bg-tint-solid/1 px-4 py-2.5 text-tint/8 ring-0"
context={context}
placement={SiteInsightsTrademarkPlacement.Embed}
/>
@@ -62,7 +62,10 @@ export function Trademark(props: {
className
)}
>
<TrademarkLink {...rest} />
<TrademarkLink
className="circular-corners:rounded-2xl rounded-lg straight-corners:rounded-none"
{...rest}
/>
</div>
);
}
@@ -102,10 +105,6 @@ export function TrademarkLink(props: {
'sidebar-filled:px-3',
'lg:sidebar-filled:page-no-toc:px-5',
'rounded-lg',
'straight-corners:rounded-none',
'circular-corners:rounded-2xl',
'hover:bg-tint',
'hover:text-tint-strong',