Skip to content

Commit

Permalink
Merge pull request #2 from xiaowangxiaowang256256/feat-nav
Browse files Browse the repository at this point in the history
fix:  adjust the style format
  • Loading branch information
xiaowangxiaowang256256 authored Mar 10, 2024
2 parents 665d6fa + e9dbe5e commit 527ca9c
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/components/navbar/nav-hamburger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const isShowMenu = ref(false)
/>
<div
v-if="isShowMenu"
class="menu"
style="background-color: var(--bg)"
flex="~ col"
fixed
left-0
Expand All @@ -28,7 +28,7 @@ const isShowMenu = ref(false)
<div
v-for="(item, key) in menuList"
:key="key"
class="menu-item"
style="border-bottom: 1px solid var(--border-color)"
border-bottom="1px solid [var(--border-color)]"
p-10px
text-center
Expand All @@ -45,12 +45,3 @@ const isShowMenu = ref(false)
</div>
</div>
</template>

<style scoped>
.menu {
background-color: var(--bg);
}
.menu-item {
border-bottom: 1px solid var(--border-color);
}
</style>

0 comments on commit 527ca9c

Please sign in to comment.