Skip to content

Commit

Permalink
Merge pull request #25 from ShanghaitechGeekPie/Fix_Banner
Browse files Browse the repository at this point in the history
fixed the z-index of the activity banner
  • Loading branch information
Clarivy authored Jul 1, 2024
2 parents 25a2775 + 5166343 commit 4c8d2d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/components/global/ActivityBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
'background-color': $vuetify.theme.dark ? '#2a4165' : '#e8f0fe',
}"
v-if="Enable"
style="z-index: 2;"
>
<div class="d-flex justify-center flex-column">
<div class="text-body-1 primary--text">
Expand Down
4 changes: 2 additions & 2 deletions src/components/global/MenuSideBar.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-navigation-drawer v-model="menuBarStatus.drawer" absolute>
<v-navigation-drawer v-model="menuBarStatus.drawer" fixed>
<v-list nav dense>
<v-list-item-group
v-model="model"
Expand All @@ -26,7 +26,7 @@
最近评价
</v-list-item-title>
</v-list-item>
<v-list-item to="/ranking" v-if="$vuetify.breakpoint.smAndDown">
<v-list-item to="/ranking" v-if="$vuetify.breakpoint.lgAndDown">
<v-list-item-title
plain
tile
Expand Down
2 changes: 1 addition & 1 deletion src/composables/global/useMenuBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default () => {

const updateMenuStatus = () => {
menuBarStatus.drawer =
window.innerWidth >= 960 ? false : menuBarStatus.drawer;
window.innerWidth >= 600 ? false : menuBarStatus.drawer;
};

return { menuBarStatus };
Expand Down

0 comments on commit 4c8d2d3

Please sign in to comment.