Skip to content

Commit

Permalink
style(css): 调整主题切换按钮位置
Browse files Browse the repository at this point in the history
- 将主题切换按钮的定位方式从 fixed 改为 absolute
- 保持按钮在页面右上角的位置
  • Loading branch information
chiimagnus committed Nov 20, 2024
1 parent 1cd4872 commit d6bbcfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ footer {

/* 添加主题切换按钮样式 */
.theme-switch {
position: fixed;
position: absolute;
top: 20px;
right: 20px;
width: 40px;
Expand Down

0 comments on commit d6bbcfb

Please sign in to comment.