diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index d4be30eeafef..62125b96783a 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -66,6 +66,18 @@ left: 0; margin-top: var(--#{$prefix}dropdown-spacer); } + + @if $dropdown-padding-y == 0 { + > .dropdown-item:first-child, + > li:first-child .dropdown-item { + @include border-top-radius(var(--#{$prefix}dropdown-inner-border-radius)); + } + > .dropdown-item:last-child, + > li:last-child .dropdown-item { + @include border-bottom-radius(var(--#{$prefix}dropdown-inner-border-radius)); + } + + } } // scss-docs-start responsive-breakpoints @@ -172,18 +184,6 @@ background-color: transparent; // For `