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.
btn-group
1 parent 7abf033 commit 05e2d30Copy full SHA for 05e2d30
docs/pages/components/Dropdown.md
@@ -23,7 +23,7 @@ Use `v-model` to indicate the dropdown status.
23
<li><a role="button">Separated link</a></li>
24
</template>
25
</dropdown>
26
-<dropdown class="btn-group">
+<dropdown>
27
<btn type="info">Split Button</btn>
28
<btn type="info" class="dropdown-toggle"><span class="caret"></span></btn>
29
<template slot="dropdown">
src/components/dropdown/Dropdown.vue
@@ -9,13 +9,10 @@
9
this.tag,
10
{
11
class: {
12
+ 'btn-group': this.tag === DEFAULT_TAG,
13
dropdown: !this.dropup,
14
dropup: this.dropup,
15
open: this.show
- },
16
- style: {
17
- 'display': this.tag === DEFAULT_TAG ? 'inline-block' : null,
18
- 'vertical-align': this.tag === DEFAULT_TAG ? 'middle' : null
19
}
20
},
21
[
0 commit comments