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
a9e7abd2
Commit
a9e7abd2
authored
7 years ago
by
Johann-S
Browse files
Options
Download
Email Patches
Plain Diff
Fix caret position for Dropdown in a bottom navbar
parent
10112976
6 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!25494
web pack
,
!25326
Adjust examples
,
!23207
#22402 : modal: new autofocus & keyboardBtnNav options
,
!17021
v4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_navbar.scss
+16
-5
scss/_navbar.scss
with
16 additions
and
5 deletions
+16
-5
scss/_navbar.scss
+
16
-
5
View file @
a9e7abd2
...
@@ -75,11 +75,10 @@
...
@@ -75,11 +75,10 @@
float
:
none
;
float
:
none
;
}
}
.dropup
{
.dropdown-toggle
{
.dropdown-menu
{
&
::after
{
position
:
absolute
;
border-top
:
$caret-width
solid
;
top
:
auto
;
border-bottom
:
0
;
bottom
:
100%
;
}
}
}
}
}
}
...
@@ -152,6 +151,18 @@
...
@@ -152,6 +151,18 @@
padding-right
:
0
;
padding-right
:
0
;
padding-left
:
0
;
padding-left
:
0
;
}
}
.dropup
{
.dropdown-menu
{
position
:
absolute
;
top
:
auto
;
bottom
:
100%
;
}
.dropdown-toggle
{
@include
caret
(
up
);
}
}
}
}
@include
media-breakpoint-up
(
$next
)
{
@include
media-breakpoint-up
(
$next
)
{
...
...
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