From e34456020c8cbae4a0db6d3fea02ce9ae5472b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 17 Nov 2025 14:12:30 +0100 Subject: [PATCH] feat: align conversion history width with upload container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added max-w-4xl container constraint to ConversionHistory component to match the FileConverter component width, creating a more consistent and aligned layout. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/converter/ConversionHistory.tsx | 182 +++++++++++---------- 1 file changed, 93 insertions(+), 89 deletions(-) diff --git a/components/converter/ConversionHistory.tsx b/components/converter/ConversionHistory.tsx index f751133..9da2736 100644 --- a/components/converter/ConversionHistory.tsx +++ b/components/converter/ConversionHistory.tsx @@ -71,99 +71,103 @@ export function ConversionHistory() { if (history.length === 0) { return ( - - - - - Conversion History - - Your recent conversions will appear here - - -
- -

No conversion history yet

-

Convert some files to see them here

-
-
-
- ); - } - - return ( - - -
-
+
+ + Conversion History - - Recent conversions ({history.length} item{history.length > 1 ? 's' : ''}) - -
- -
- - -
- {history.map((item) => ( -
-
-
- {/* File conversion info */} -
- - {item.inputFileName} - - - - {item.outputFileName} - -
- - {/* Format conversion */} -
- - {item.inputFormat} - - - - {item.outputFormat} - - • - {formatFileSize(item.fileSize)} -
- - {/* Timestamp */} -
- - {formatTimestamp(item.timestamp)} -
-
- - {/* Remove button */} - -
+ Your recent conversions will appear here + + +
+ +

No conversion history yet

+

Convert some files to see them here

- ))} -
- - + + +
+ ); + } + + return ( +
+ + +
+
+ + + Conversion History + + + Recent conversions ({history.length} item{history.length > 1 ? 's' : ''}) + +
+ +
+
+ +
+ {history.map((item) => ( +
+
+
+ {/* File conversion info */} +
+ + {item.inputFileName} + + + + {item.outputFileName} + +
+ + {/* Format conversion */} +
+ + {item.inputFormat} + + + + {item.outputFormat} + + • + {formatFileSize(item.fileSize)} +
+ + {/* Timestamp */} +
+ + {formatTimestamp(item.timestamp)} +
+
+ + {/* Remove button */} + +
+
+ ))} +
+
+
+
); }