aboutsummaryrefslogtreecommitdiff
path: root/scss/_dropdown.scss
diff options
context:
space:
mode:
authorPierre Vanduynslager <[email protected]>2017-04-08 18:43:25 -0400
committerGitHub <[email protected]>2017-04-08 18:43:25 -0400
commitfe72daf2b34263d3cfc9bc77e9998cd22adfa34d (patch)
tree15dc9fc6fcb513362ba112d52ab01b568b423709 /scss/_dropdown.scss
parentf5cc59145642d78d7abbdf38fee1905786da5367 (diff)
parentfeb35b94a61c4d6016be8d1773a79a6bbe57d856 (diff)
downloadbootstrap-fe72daf2b34263d3cfc9bc77e9998cd22adfa34d.tar.xz
bootstrap-fe72daf2b34263d3cfc9bc77e9998cd22adfa34d.zip
Merge branch 'v4-dev' into dropdown-keyboard
Diffstat (limited to 'scss/_dropdown.scss')
-rw-r--r--scss/_dropdown.scss7
1 files changed, 3 insertions, 4 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index 1c2741a2e..090fdf1c1 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -18,9 +18,8 @@
border-left: $caret-width solid transparent;
}
- // Prevent the focus on the dropdown toggle when closing dropdowns
- &:focus {
- outline: 0;
+ &:empty::after {
+ margin-left: 0;
}
}
@@ -66,7 +65,7 @@
.dropdown-item {
display: block;
width: 100%; // For `<button>`s
- padding: 3px $dropdown-item-padding-x;
+ padding: $dropdown-item-padding-y $dropdown-item-padding-x;
clear: both;
font-weight: $font-weight-normal;
color: $dropdown-link-color;