Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Push burger slot to the same position as default burger #4037

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/components/navbar/Navbar.vue
Expand Up @@ -185,12 +185,13 @@ export default {
})

const hasBurgerSlot = !!this.$scopedSlots.burger
return hasBurgerSlot
? this.$scopedSlots.burger({
isOpened: this.isOpened,
toggleActive: this.toggleActive
})
: defaultBurgerNode
return hasBurgerSlot ? createElement('a', {
staticClass: 'ml-auto',
attrs: {
role: 'button',
'aria-label': 'menu'
}
}, [this.$scopedSlots.burger({ isOpened: this.isOpened })]) : defaultBurgerNode
franciscoh017 marked this conversation as resolved.
Show resolved Hide resolved
}
},
genNavbarSlotsNode(createElement) {
Expand Down