Skip to content

Commit f0063ef

Browse files
feat(b-dropdown-item): ✨ Bind class attribute to the root
1 parent c912a04 commit f0063ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/bootstrap-vue-3/src/components/BDropdown/BDropdownItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<li role="presentation">
2+
<li role="presentation" :class="$attrs.class">
33
<component
44
:is="tag"
55
class="dropdown-item"

packages/bootstrap-vue-3/src/components/BDropdown/BDropdownItemButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<li role="presentation">
2+
<li role="presentation" :class="$attrs.class">
33
<!-- Should click be click.prevent ? -->
44
<button
55
role="menu"

0 commit comments

Comments
 (0)