tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
fix null bg-image
awarm.space
3 months ago
7d66e003
afa115e8
+3
-1
1 changed file
expand all
collapse all
unified
split
components
ThemeManager
PublicationThemeProvider.tsx
+3
-1
components/ThemeManager/PublicationThemeProvider.tsx
···
84
84
<div
85
85
className="PubBackgroundWrapper w-full bg-bg-leaflet text-primary h-full flex flex-col bg-cover bg-center bg-no-repeat items-stretch"
86
86
style={{
87
87
-
backgroundImage: `url(${backgroundImage})`,
87
87
+
backgroundImage: backgroundImage
88
88
+
? `url(${backgroundImage})`
89
89
+
: undefined,
88
90
backgroundRepeat: backgroundImageRepeat ? "repeat" : "no-repeat",
89
91
backgroundSize: `${backgroundImageRepeat ? `${backgroundImageSize}px` : "cover"}`,
90
92
}}