Skip to content

Commit

Permalink
Make the popover menu more easily addressable
Browse files Browse the repository at this point in the history
Required for overrides like for example dark mode stylesheets.

Signed-off-by: Vincent Petry <[email protected]>
  • Loading branch information
PVince81 committed Jan 20, 2021
1 parent d5e3df4 commit d6b210b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/PopoverMenu/PopoverMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</docs>

<template>
<ul>
<ul class="popover__menu">
<PopoverMenuItem v-for="(item, key) in menu" :key="key" :item="item" />
</ul>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PopoverMenu/PopoverMenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
-->

<template>
<li>
<li class="popover__menuitem">
<!-- If item.href is set, a link will be directly used -->
<a v-if="item.href"
:href="(item.href) ? item.href : '#' "
Expand Down

0 comments on commit d6b210b

Please sign in to comment.