From ae624d3eeeb8c18e85d0a5ab1fb329189d071752 Mon Sep 17 00:00:00 2001 From: brave-builds Date: Mon, 29 Jan 2024 23:28:00 +0000 Subject: [PATCH] Uplift of #21784 (squashed) to release --- components/brave_new_tab_ui/components/default/page/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/brave_new_tab_ui/components/default/page/index.tsx b/components/brave_new_tab_ui/components/default/page/index.tsx index 0ad1dcd24cc9..eea35891ed28 100644 --- a/components/brave_new_tab_ui/components/default/page/index.tsx +++ b/components/brave_new_tab_ui/components/default/page/index.tsx @@ -348,6 +348,7 @@ function getPageBackground(p: HasImageProps) { right: 0; display: block; transition: opacity .5s ease-in-out; + background: ${getBackground}; ${p => p.hasImage && p.imageSrc && css` opacity: var(--bg-opacity); background-size: cover; @@ -355,7 +356,6 @@ function getPageBackground(p: HasImageProps) { background-attachment: fixed; `}; background-position: center center; - background-image: ${getBackground}; } ` }