fix: pdf font

This commit is contained in:
JOYCEQL
2024-11-26 17:00:25 +08:00
parent 6cd353314e
commit bd221b363c
2 changed files with 1 additions and 13 deletions
-11
View File
@@ -37,17 +37,6 @@ export function PdfExport() {
const content = `
<html>
<head>
<style>
@font-face {
font-family: 'GeistMonoVF';
src: url('/fonts/GeistMonoVF.woff');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'GeistMonoVF', sans-serif;
}
</style>
<style>${styles}</style>
</head>
<body>
@@ -267,8 +267,7 @@ export function PreviewPanel() {
"text-[#000]"
)}
style={{
minHeight: "297mm",
fontFamily: "GeistMonoVF"
minHeight: "297mm"
}}
>
<div