diff --git a/src/interface/pages/ThemeCreator.tsx b/src/interface/pages/ThemeCreator.tsx index 47e99007..185ad466 100644 --- a/src/interface/pages/ThemeCreator.tsx +++ b/src/interface/pages/ThemeCreator.tsx @@ -168,11 +168,11 @@ function ThemeCreator() {

Cover Image (optional)

-

Upload an image to use as the cover image for your theme. Recommended resolution: 348x64

+

Upload an image to use as the cover image for your theme. Recommended resolution: 368x120

-
- - Add cover image +
+ + {theme.coverImage ? 'Change' : 'Add'} cover image { const file = e.target.files?.[0]; e.target.value = ''; @@ -184,7 +184,15 @@ function ThemeCreator() { }; reader.readAsDataURL(file); } - }} className="absolute inset-0 w-full h-full opacity-0 cursor-pointer" /> + }} className="absolute inset-0 z-10 w-full h-full opacity-0 cursor-pointer" /> + { + theme.coverImage && ( + <> +
+ Cover Image + + ) + }