Skip to content

Commit 6938a83

Browse files
yulin0629claude
andcommitted
fix: 合併關閉按鈕滾動修正
從 main 分支合併關閉按鈕的滾動問題修正, 使用 sticky 定位確保按鈕不會隨內容滾動。 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
2 parents 24ee9a2 + d5bedd7 commit 6938a83

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,13 +660,14 @@ body {
660660
}
661661

662662
.markdown-close {
663-
position: absolute;
663+
position: sticky;
664664
top: 15px;
665-
right: 15px;
665+
float: right;
666+
margin: -30px -30px 20px 20px;
666667
width: 30px;
667668
height: 30px;
668669
cursor: pointer;
669-
background: rgba(60, 60, 67, 0.8);
670+
background: rgba(60, 60, 67, 0.9);
670671
border-radius: 15px;
671672
display: flex;
672673
align-items: center;

0 commit comments

Comments
 (0)