Skip to content

Commit

Permalink
🐛 修复移动端黑暗模式按钮的图标错位及动画错位
Browse files Browse the repository at this point in the history
  • Loading branch information
Redlnn committed Nov 12, 2024
1 parent 37f2313 commit 59c0923
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/.vitepress/theme/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@ provide('toggle-appearance', async ({ clientX: x, clientY: y }: MouseEvent) => {
.VPSwitchAppearance {
width: 22px !important;
background-color: initial !important;
display: flex !important;
justify-content: center;
align-items: center;
}
.VPSwitchAppearance .check {
transform: none !important;
position: initial;
box-shadow: initial;
}
</style>

0 comments on commit 59c0923

Please sign in to comment.