From 1a42e0a8d33d83fe90087860792da63b7cfa8d79 Mon Sep 17 00:00:00 2001 From: brave-builds Date: Wed, 20 Dec 2023 03:00:49 +0000 Subject: [PATCH] Uplift of #21427 (squashed) to beta --- components/brave_news/browser/resources/feed/Ad.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/brave_news/browser/resources/feed/Ad.tsx b/components/brave_news/browser/resources/feed/Ad.tsx index 5839b642dbab..c99d2b54b298 100644 --- a/components/brave_news/browser/resources/feed/Ad.tsx +++ b/components/brave_news/browser/resources/feed/Ad.tsx @@ -42,6 +42,10 @@ const CtaButton = styled(Button)` align-self: flex-start; ` +const AdImage = styled(LargeImage)` + height: unset; +` + export const useVisibleFor = (callback: () => void, timeout: number) => { const [el, setEl] = React.useState(null) const callbackRef = React.useRef<() => void>() @@ -106,7 +110,7 @@ export default function Advert(props: Props) { } return - + e.stopPropagation()} href="brave://rewards">{getLocale('braveNewsAdvertBadge')}