Fix categories header style (fix #3585)

This commit is contained in:
the1812 2022-08-15 23:46:32 +08:00
parent 10815492d3
commit e285b5e185
2 changed files with 13 additions and 3 deletions

View File

@ -2,7 +2,11 @@
<div class="custom-navbar" :class="styles" role="navigation">
<div class="left-pad padding"></div>
<div class="custom-navbar-items" role="list">
<NavbarItem v-for="item of items" :key="item.name" :item="item"></NavbarItem>
<NavbarItem
v-for="item of items"
:key="item.name"
:item="item"
></NavbarItem>
</div>
<div class="right-pad padding"></div>
</div>
@ -72,7 +76,7 @@ export default Vue.extend({
</script>
<style lang="scss">
@import "common";
@import 'common';
$navbar-height: 50px;
html {
@ -109,6 +113,9 @@ body.fixed-navbar {
top: #{$navbar-height + 8px} !important;
}
}
.bili-feed4 .header-channel {
display: none !important;
}
}
.custom-navbar *,
@ -244,7 +251,7 @@ body.fixed-navbar {
.padding,
.custom-navbar-items > * {
&.peek::after {
content: "";
content: '';
position: absolute;
top: 0;
width: 100%;

View File

@ -35,3 +35,6 @@ li.nav-item[report-id="playpage_dynamic"] .i-frame,
.link-top-container#tab-container {
top: $height !important;
}
.bili-feed4 .header-channel{
top: 0 !important;
}