We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9f210 commit aceeaa1Copy full SHA for aceeaa1
packages/coreui-vue/src/components/dropdown/CDropdownMenu.ts
@@ -26,14 +26,11 @@ const CDropdownMenu = defineComponent({
26
h(
27
props.component,
28
{
29
- class: [
30
- 'dropdown-menu',
31
- { 'dropdown-menu-dark': dark, show: visible.value },
32
- getAlignmentClassNames(alignment),
33
- ],
+ class: ['dropdown-menu', { show: visible.value }, getAlignmentClassNames(alignment)],
34
...((typeof alignment === 'object' || !popper) && {
35
'data-coreui-popper': 'static',
36
}),
+ ...(dark && { 'data-coreui-theme': 'dark' }),
37
ref: dropdownMenuRef,
38
},
39
props.component === 'ul'
0 commit comments