diff --git a/app/lish/[did]/[publication]/theme-settings/PostPreview.tsx b/app/lish/[did]/[publication]/theme-settings/PostPreview.tsx index 6cb2ab35..797ce41d 100644 --- a/app/lish/[did]/[publication]/theme-settings/PostPreview.tsx +++ b/app/lish/[did]/[publication]/theme-settings/PostPreview.tsx @@ -136,7 +136,7 @@ export function PostPreview(props: { ], }} > -
+
-
{ - e.preventDefault(); - let result = await submitTheme(setLoading); - if (result?.success) { - toaster({ content: "Theme updated!", type: "success" }); - } - }} + - {/* Toggle + Save Header */} -
-
Preview Mode
- -
+
+
+ { + let result = await submitTheme(setLoading); + if (result?.success) { + toaster({ + content: "Theme updated!", + type: "success", + }); + } + }} + > + {loading ? : "Update"} + +
-
- -
-
- - {loading ? : "Update"} - + {/* Toggle + Save Header */} +
+
Preview Mode
+ +
+
+ +
- +
@@ -114,7 +127,7 @@ export function ThemeSettingsContent() { localBgImage={pubBGImage} localBgImageRepeat={leafletBGRepeat} > -
+
{previewMode === "pub" ? (
+
} >
diff --git a/components/ThemeManager/PubPickers/PubBackgroundPickers.tsx b/components/ThemeManager/PubPickers/PubBackgroundPickers.tsx index 9f63a6da..32597332 100644 --- a/components/ThemeManager/PubPickers/PubBackgroundPickers.tsx +++ b/components/ThemeManager/PubPickers/PubBackgroundPickers.tsx @@ -145,6 +145,7 @@ const BackgroundImagePicker = (props: { <>
-