aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/views/index/Notepad/changelog.ts
diff options
context:
space:
mode:
authorNtkskwk <natsukawa247@outlook.com>2024-09-10 15:16:06 +0800
committerNtkskwk <natsukawa247@outlook.com>2024-09-10 15:16:06 +0800
commitc9d82f7244e9f99a2e129b26f99f3b526e717775 (patch)
tree2d58a83c0450b637d1820442d5be82952ab44d42 /src/views/index/Notepad/changelog.ts
parent039b925f3c15f5435dce2dc9aa0c23f84928d32d (diff)
downloadHydroRollSite-c9d82f7244e9f99a2e129b26f99f3b526e717775.tar.gz
HydroRollSite-c9d82f7244e9f99a2e129b26f99f3b526e717775.zip
feat: improve css styles for better layoutpage-layout
Diffstat (limited to 'src/views/index/Notepad/changelog.ts')
-rw-r--r--src/views/index/Notepad/changelog.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/index/Notepad/changelog.ts b/src/views/index/Notepad/changelog.ts
index 9d2b523..00ff4a4 100644
--- a/src/views/index/Notepad/changelog.ts
+++ b/src/views/index/Notepad/changelog.ts
@@ -6,7 +6,7 @@ export const changelog = async ():Promise<NotepadContent> =>
const title = "Changelog"
return http.get('https://api.github.com/repos/HydroRoll-Team/HydroRoll/releases/latest')
.then(res => {
- const message = "## " + res.data['tag_name'] + "\n" + res.data['body'];
+ const message = "## " + res.data['tag_name'] + "\n" + res.data['body'].trimEnd();
return new NotepadContent(title,message)
})
.catch(err => {