Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d4e782ef
Commit
d4e782ef
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix dropdown radius if `$dropdown-padding-y` is not 0 (#28127)
parent
1275e353
1 merge request
!28721
Hot test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_dropdown.scss
+9
-5
scss/_dropdown.scss
with
9 additions
and
5 deletions
+9
-5
scss/_dropdown.scss
+
9
-
5
View file @
d4e782ef
...
@@ -132,12 +132,16 @@
...
@@ -132,12 +132,16 @@
background-color
:
transparent
;
// For `<button>`s
background-color
:
transparent
;
// For `<button>`s
border
:
0
;
// For `<button>`s
border
:
0
;
// For `<button>`s
&
:first-child
{
// Prevent dropdown overflow if there's no padding
@include
border-top-radius
(
$dropdown-inner-border-radius
);
// See https://github.com/twbs/bootstrap/pull/27703
}
@if
$dropdown-padding-y
==
0
{
&
:first-child
{
@include
border-top-radius
(
$dropdown-inner-border-radius
);
}
&
:last-child
{
&
:last-child
{
@include
border-bottom-radius
(
$dropdown-inner-border-radius
);
@include
border-bottom-radius
(
$dropdown-inner-border-radius
);
}
}
}
@include
hover-focus
{
@include
hover-focus
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets