Skip to content

Commit

Permalink
Fix categories header style (fix #3585)
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Aug 15, 2022
1 parent 1081549 commit e285b5e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 10 additions & 3 deletions registry/lib/components/style/custom-navbar/CustomNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -72,7 +76,7 @@ export default Vue.extend({
</script>

<style lang="scss">
@import "common";
@import 'common';
$navbar-height: 50px;
html {
Expand Down Expand Up @@ -109,6 +113,9 @@ body.fixed-navbar {
top: #{$navbar-height + 8px} !important;
}
}
.bili-feed4 .header-channel {
display: none !important;
}
}
.custom-navbar *,
Expand Down Expand Up @@ -244,7 +251,7 @@ body.fixed-navbar {
.padding,
.custom-navbar-items > * {
&.peek::after {
content: "";
content: '';
position: absolute;
top: 0;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit e285b5e

Please sign in to comment.