Skip to content

Commit

Permalink
fix: link-card block (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Colerar authored Nov 8, 2024
1 parent f8319ae commit e9fc957
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/answer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ const template = createTemplate`
.author > div {
flex: 1;
}
a[data-draft-type="link-card"] {
display: block;
}
</style>
</head>
<body style="max-width: 1000px; margin: 0 auto; padding: 0 1em 0 1em;" class="yue">
Expand Down
3 changes: 3 additions & 0 deletions src/article.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ const template = createTemplate`
.author > div {
flex: 1;
}
a[data-draft-type="link-card"] {
display: block;
}
</style>
</style>
</head>
Expand Down

0 comments on commit e9fc957

Please sign in to comment.