Skip to content

Commit 3bef981

Browse files
tmorehousejacobmllr95
authored andcommitted
fix(dropdown): fix no-caret prop when dropleft (fixes #2909) (#2910)
* fix(dropdown): fix hide-caret when dropleft (fixes #2909) Fixes #2909 * Update _dropdown.scss * Update _dropdown.scss
1 parent b184e19 commit 3bef981

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed
Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
// Hide the caret for no-caret setting
22
// See: https://github.com/bootstrap-vue/bootstrap-vue/issues/1473
33
// See: https://github.com/twbs/bootstrap/issues/23724
4-
.dropdown-toggle {
5-
&.dropdown-toggle-no-caret:after {
6-
display: none !important;
4+
.dropdown {
5+
&:not(.dropleft) {
6+
.dropdown-toggle {
7+
&.dropdown-toggle-no-caret:after {
8+
display: none !important;
9+
}
10+
}
11+
}
12+
13+
// See: https://github.com/bootstrap-vue/bootstrap-vue/issues/2909
14+
&.dropleft {
15+
.dropdown-toggle {
16+
&.dropdown-toggle-no-caret:before {
17+
display: none !important;
18+
}
19+
}
720
}
821
}

0 commit comments

Comments
 (0)