summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macosx/Pcsxr-QL/GeneratePreviewForURL.m3
-rw-r--r--macosx/Pcsxr-QL/template.html3
2 files changed, 2 insertions, 4 deletions
diff --git a/macosx/Pcsxr-QL/GeneratePreviewForURL.m b/macosx/Pcsxr-QL/GeneratePreviewForURL.m
index 89ad191e..c13a3e04 100644
--- a/macosx/Pcsxr-QL/GeneratePreviewForURL.m
+++ b/macosx/Pcsxr-QL/GeneratePreviewForURL.m
@@ -119,8 +119,7 @@ static OSStatus GeneratePreviewForMemCard(void *thisInterface, QLPreviewRequestR
NSDictionary *previewDict =
@{(NSString *)kQLPreviewPropertyAttachmentsKey: htmlDict,
(NSString *)kQLPreviewPropertyDisplayNameKey: [url lastPathComponent],
- (NSString *)kQLPreviewPropertyWidthKey: @400,
- (NSString *)kQLPreviewPropertyHeightKey: @400};
+ (NSString *)kQLPreviewPropertyWidthKey: @400};
QLPreviewRequestSetDataRepresentation(preview, (__bridge CFDataRef)(data), kUTTypeHTML, (__bridge CFDictionaryRef)(previewDict));
diff --git a/macosx/Pcsxr-QL/template.html b/macosx/Pcsxr-QL/template.html
index 52ac5d44..2e3762cb 100644
--- a/macosx/Pcsxr-QL/template.html
+++ b/macosx/Pcsxr-QL/template.html
@@ -1,12 +1,11 @@
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
-
<style>
table,th,td
{
border:1px solid black;
- width:400px;
+ width:380px;
}
</style>
</head>