Skip to content

Commit

Permalink
🛠️ hotfix: Fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
EveSunMaple committed Sep 2, 2024
1 parent f28eea9 commit 15ca262
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,4 +374,10 @@

### Refactored

- 更新了评论系统的样式
- 更新了评论系统的样式
- 修改了评论系统的定位 id 防止被覆盖

### Fix

- 修复了评论系统反应表情加载不出来的问题(图床寄了)
- 修复了 `global.scss` 中错误的 applt 拼写
6 changes: 3 additions & 3 deletions src/components/CommentWaline.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import { SERVER_URL } from "../consts";
href="https://unpkg.com/@waline/client@v3/dist/waline-meta.css"
/>
<div class="comment">
<div id="waline" data-server-url={SERVER_URL}></div>
<div id="waline-comment-system" data-server-url={SERVER_URL}></div>
</div>
<script type="module" is:inline>
import { init } from "https://unpkg.com/@waline/client@v3/dist/waline.js";

const serverURL = document
.getElementById("waline")
.getElementById("waline-comment-system")
.getAttribute("data-server-url");
init({
el: "#waline",
el: "#waline-comment-system",
serverURL: serverURL,
dark: 'html[data-theme="dracula"]',
reaction: [
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/frosti-mdx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ First you need to create an `mdx` file, which is as simple as changing the exten

### Introducing

The components provided by Frosti are placed in the `/blog` and `/page` folders. Write something in the document properties (frontmatter):
The components provided by Frosti are placed in the `/blog` and `/page` folders. Write something under the document properties (frontmatter):

```astro
import Collapse from "../../components/blog/collapse.astro";
Expand Down
2 changes: 1 addition & 1 deletion src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ thead th {
}

.timeline{
@applt pl-0;
@apply pl-0;
}

.timeline li {
Expand Down

0 comments on commit 15ca262

Please sign in to comment.