Skip to content

Commit

Permalink
还是字体问题
Browse files Browse the repository at this point in the history
  • Loading branch information
bohanjun committed Jul 14, 2023
1 parent 5816e4d commit dbbaccc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ export default (
reply: Omit<Awaited<ReturnType<typeof getReplyRaw>>, "time"> & {
time: string;
},
{ width }: { width: number },
{ width }: { width: number }
) => `<!DOCTYPE html>
<html>
<html lang="zh-CN">
<style>
* {
box-sizing: border-box;
Expand Down Expand Up @@ -66,13 +66,13 @@ export default (
}
#content::before {
content: "“";
font-family: "Source Han Sans";
font-size: 5.5rem;
font-family: "Helvetica Neue";
font-size: 6.6rem;
position: absolute;
top: -2.4rem;
left: -3rem;
top: -2.3rem;
left: -3.3rem;
color: #eeedee;
height: .75em;
height: .55em;
overflow-y: hidden;
}
.markdown code {
Expand Down
4 changes: 2 additions & 2 deletions packages/viewer/src/app/r/[rid]/image/template-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export default (
reply: Omit<Awaited<ReturnType<typeof getReplyRaw>>, "time"> & {
time: string;
},
{ width }: { width: number },
{ width }: { width: number }
) => `<!DOCTYPE html>
<html>
<html lang="zh-CN">
<style>
* {
box-sizing: border-box;
Expand Down

0 comments on commit dbbaccc

Please sign in to comment.