diff --git a/src/app/(tools)/rounded-border/rounded-tool.tsx b/src/app/(tools)/rounded-border/rounded-tool.tsx index a5dbf34..043bd4a 100644 --- a/src/app/(tools)/rounded-border/rounded-tool.tsx +++ b/src/app/(tools)/rounded-border/rounded-tool.tsx @@ -183,8 +183,8 @@ function RoundedToolCore(props: { fileUploaderProps: FileUploaderResult }) { } return ( -
-
+
+
-
- Original Size - - {imageMetadata.width} × {imageMetadata.height} - -
- - +
+
+ Original Size + + {imageMetadata.width} × {imageMetadata.height} + +
- - option.charAt(0).toUpperCase() + option.slice(1) - } - /> + -
- - + option.charAt(0).toUpperCase() + option.slice(1) + } /> -
+ +
+ + +
+
); } diff --git a/src/app/(tools)/square-image/square-tool.tsx b/src/app/(tools)/square-image/square-tool.tsx index 8264309..a1b9341 100644 --- a/src/app/(tools)/square-image/square-tool.tsx +++ b/src/app/(tools)/square-image/square-tool.tsx @@ -79,60 +79,65 @@ function SquareToolCore(props: { fileUploaderProps: FileUploaderResult }) { } return ( -
-
+
+
{squareImageContent && ( - Preview + Preview )}

{imageMetadata.name}

- -
-
- Original - - {imageMetadata.width} × {imageMetadata.height} - +
+
+
+ Original + + {imageMetadata.width} × {imageMetadata.height} + +
+ +
+ Square Size + + {Math.max(imageMetadata.width, imageMetadata.height)} ×{" "} + {Math.max(imageMetadata.width, imageMetadata.height)} + +
-
- Square Size - - {Math.max(imageMetadata.width, imageMetadata.height)} ×{" "} - {Math.max(imageMetadata.width, imageMetadata.height)} - + + option.charAt(0).toUpperCase() + option.slice(1) + } + /> + +
+ +
-
- - - option.charAt(0).toUpperCase() + option.slice(1) - } - /> - -
- - -
+
); } diff --git a/src/app/(tools)/svg-to-png/svg-tool.tsx b/src/app/(tools)/svg-to-png/svg-tool.tsx index 137d778..cffdec4 100644 --- a/src/app/(tools)/svg-to-png/svg-tool.tsx +++ b/src/app/(tools)/svg-to-png/svg-tool.tsx @@ -161,57 +161,58 @@ function SVGToolCore(props: { fileUploaderProps: FileUploaderResult }) { ); return ( -
+
{/* Preview Section */} -
+

{imageMetadata.name}

- - {/* Size Information */} -
-
- Original - - {imageMetadata.width} × {imageMetadata.height} - +
+ {/* Size Information */} +
+
+ Original + + {imageMetadata.width} × {imageMetadata.height} + +
+ +
+ Scaled + + {imageMetadata.width * effectiveScale} ×{" "} + {imageMetadata.height * effectiveScale} + +
-
- Scaled - - {imageMetadata.width * effectiveScale} ×{" "} - {imageMetadata.height * effectiveScale} - -
-
- - {/* Scale Controls */} - - - {/* Action Buttons */} -
- - -
+ + {/* Action Buttons */} +
+ + +
+
); }