fix(theme): fix fixed position failure in Safari

This commit is contained in:
pengzhanbo 2025-11-14 17:15:48 +08:00
parent 05d55e5035
commit 4119b67e0b
2 changed files with 2 additions and 6 deletions

View File

@ -83,10 +83,6 @@ watchPostEffect(() => {
</style>
<style>
[data-theme] {
will-change: clip-path, filter, opacity;
}
::view-transition-image-pair(root) {
isolation: auto;
}

View File

@ -71,11 +71,11 @@ const iconName = computed<string | { svg: string }>(() => {
overflow: hidden;
}
.vp-card-wrapper .body :first-child {
.vp-card-wrapper .body > :first-child {
margin-top: 0;
}
.vp-card-wrapper .body :last-child {
.vp-card-wrapper .body > :last-child {
margin-bottom: 0;
}
</style>