Skip to content

Commit e70d63a

Browse files
committed
update style
1 parent d1b2be7 commit e70d63a

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ function renderAwards(items) {
478478
foldList.style.maxHeight = awardsExpanded ? `${targetHeight}px` : "0px";
479479
foldList.style.opacity = awardsExpanded ? "1" : "0";
480480
foldList.style.transform = awardsExpanded ? "translateY(0)" : "translateY(-6px)";
481-
foldList.style.marginTop = awardsExpanded ? "8px" : "0px";
481+
foldList.style.marginTop = "0px";
482482
void foldList.offsetHeight;
483483
foldList.style.transition = "";
484484
return;
@@ -493,15 +493,15 @@ function renderAwards(items) {
493493
foldList.style.maxHeight = `${targetHeight}px`;
494494
foldList.style.opacity = "1";
495495
foldList.style.transform = "translateY(0)";
496-
foldList.style.marginTop = "8px";
496+
foldList.style.marginTop = "0px";
497497
});
498498
return;
499499
}
500500

501501
foldList.style.maxHeight = `${targetHeight}px`;
502502
foldList.style.opacity = "1";
503503
foldList.style.transform = "translateY(0)";
504-
foldList.style.marginTop = "8px";
504+
foldList.style.marginTop = "0px";
505505
window.requestAnimationFrame(() => {
506506
foldList.style.maxHeight = "0px";
507507
foldList.style.opacity = "0";

content/zh.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@
130130
],
131131

132132
experience: [
133-
{
134-
135-
},
136133
{
137134
title: "香港中文大学(深圳)数据科学学院",
138135
meta: "研究助理 | 2026.07 - 至今",

0 commit comments

Comments
 (0)