Create professional demos and 3D mockups in seconds, directly in your browser
fix: Update background gradients and z-index values for improved UI consistency
CristianOlivera1a88b860a3309
diff --git a/app/components/ui/ExportImageDropdown.tsx b/app/components/ui/ExportImageDropdown.tsxindex ad36e06..7e39f5f 100644--- a/app/components/ui/ExportImageDropdown.tsx+++ b/app/components/ui/ExportImageDropdown.tsx@@ -51,7 +51,7 @@ const FORMAT_OPTIONS: FormatOption[] = [label: "AVIF",description: "Mejor compresión moderna",icon: "mdi:image-multiple",- supportsTransparency: true,+ supportsTransparency: false,},{format: "webp",@@ -198,7 +198,7 @@ export function ExportImageDropdown({{isTransparent && (<div className="flex items-center gap-2 px-2 py-0.5 rounded-full bg-cyan-500/10 border border-cyan-500/20 backdrop-blur-md"><span className="text-[9px] font-bold uppercase tracking-wider text-cyan-600 dark:text-cyan-400/90">- {t("transparent")}+ {t("transparent")}</span></div>)}@@ -214,18 +214,18 @@ export function ExportImageDropdown({key={opt.format}onClick={() => !disabled && setSelectedFormat(opt.format)}disabled={disabled}- className={`relative flex flex-col items-center gap-2 transition-all duration-300 group ${disabled ? "opacity-20 cursor-not-allowed" : "cursor-pointer"+ className={`relative flex flex-col items-center gap-2 transition-all duration-300 group ${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`}aria-label={`${opt.label} format - ${opt.description}`}aria-pressed={isSelected}><divclassName={`relative size-12 squircle-element flex items-center justify-center transition-all duration-300 border overflow-hidden ${isSelected- ? "border-transparent scale-105 text-white"- : "border-border hover:border-foreground/30"+ ? "border-transparent scale-105 text-white"+ : "border-border hover:border-foreground/30"}`}style={isSelected ? {- background: "radial-gradient(circle at 50% 0%, #555555 0%, #454545 64%)",+ background: "radial-gradient(circle at 50% 0%, #555555 0%, #121212 75%)",boxShadow: "inset 0 1.01rem 0.2rem -1rem #fff, 0 0 0 1px #fff4, 0 4px 4px 0 #0004, 0 0 0 1px #333",} : undefined}>@@ -254,7 +254,7 @@ export function ExportImageDropdown({</div><div className="px-2 pb-2">- <div className="bg-muted/50 squircle-element border border-border overflow-hidden max-h-64 overflow-y-auto custom-scrollbar">+ <div className="bg-muted/50 squircle-element border border-border overflow-hidden max-h-100 overflow-y-auto custom-scrollbar">{qualityPresets.map((preset, i) => (<buttonkey={i}diff --git a/app/components/ui/editor/FeedbackWidget.tsx b/app/components/ui/editor/FeedbackWidget.tsxindex 566fbea..e6a4220 100644--- a/app/components/ui/editor/FeedbackWidget.tsx+++ b/app/components/ui/editor/FeedbackWidget.tsx@@ -159,7 +159,7 @@ export function FeedbackWidget() {: "bg-transparent border-border text-muted-foreground hover:bg-muted hover:text-foreground hover:border-muted-foreground/50"}`}style={isSelected ? {- background: "radial-gradient(circle at 50% 0%, #555555 0%, #454545 64%)",+ background: "radial-gradient(circle at 50% 0%, #555555 0%, #121212 75%)",boxShadow: "inset 0 1.01rem 0.2rem -1rem #fff, 0 0 0 1px #fff4, 0 4px 4px 0 #0004, 0 0 0 1px #333",} : undefined}>@@ -175,7 +175,6 @@ export function FeedbackWidget() {{t(`types.${opt.value}`)}</span></button>-);})}</div>diff --git a/app/components/ui/editor/ImageCropperModal.tsx b/app/components/ui/editor/ImageCropperModal.tsxindex 09899e3..4b2012d 100644--- a/app/components/ui/editor/ImageCropperModal.tsx+++ b/app/components/ui/editor/ImageCropperModal.tsx@@ -357,7 +357,7 @@ export function ImageCropperModal({style={selectedAspectRatio === ratio.value? {- background: "radial-gradient(circle at 50% 0%, #555555 0%, #252525 64%)",+ background: "radial-gradient(circle at 50% 0%, #555555 0%, #121212 75%)",boxShadow: "0 0 0 1px #fff3, 0 4px 4px 0 #0004, 0 0 0 1px #333",}: {}@@ -369,6 +369,7 @@ export function ImageCropperModal({<div className="absolute left-1 top-1/5 -translate-y-1/2 size-3 bg-white rounded-full blur-[5px]" />)}</div>+))}</div></div>diff --git a/app/components/ui/editor/VideoCanvas.tsx b/app/components/ui/editor/VideoCanvas.tsxindex 195dc2d..eb79866 100644--- a/app/components/ui/editor/VideoCanvas.tsx+++ b/app/components/ui/editor/VideoCanvas.tsx@@ -2561,7 +2561,7 @@ function VideoCanvasInner({{selectedZoomFragment && !textToolActive && (<divclassName="absolute inset-0"- style={{ zIndex: 250 }}+ style={{ zIndex: 50 }}onClick={handleZoomOverlayClick}><ZoomPointOverlaydiff --git a/app/components/ui/editor/VideoCropperModal.tsx b/app/components/ui/editor/VideoCropperModal.tsxindex c960c1d..49fa265 100644--- a/app/components/ui/editor/VideoCropperModal.tsx+++ b/app/components/ui/editor/VideoCropperModal.tsx@@ -393,7 +393,7 @@ export function VideoCropperModal({style={selectedAspectRatio === ratio.value? {- background: "radial-gradient(circle at 50% 0%, #555555 0%, #252525 64%)",+ background: "radial-gradient(circle at 50% 0%, #555555 0%, #121212 75%)",boxShadow: "0 0 0 1px #fff3, 0 4px 4px 0 #0004, 0 0 0 1px #333",}: {}