Skip to content

Commit

Permalink
Fix styles for new space (#5011)
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Dec 28, 2024
1 parent 3bd053d commit 78805b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const setupTransparentFill = (vm: { toggleStyle: (value: boolean, style: string)
})
}

const transparentFillUrls = ['//music.bilibili.com/']
const transparentFillUrls = ['//music.bilibili.com/', '//space.bilibili.com/']

/**
* 检查是否应用透明填充(有横幅时)
Expand Down
10 changes: 10 additions & 0 deletions registry/lib/components/style/dark-mode/dark-slice-18.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1015,3 +1015,13 @@
@include background-color();
}
}

.header.space-header {
.header-toutu,
.header-upinfo-bg-shadow {
z-index: 0 !important;
}
.header-upinfo {
z-index: 1 !important;
}
}

0 comments on commit 78805b7

Please sign in to comment.