Skip to content

Commit

Permalink
fix: adjust the style format
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowangxiaowang256256 committed Mar 10, 2024
1 parent aa441d6 commit e9dbe5e
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 e9dbe5e

Please sign in to comment.