Skip to content
GitLab
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
af68bc2c
Commit
af68bc2c
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #19216 from twbs/dropdown-min-width
Extract $dropdown-min-width variable
parents
5f455319
4c6946b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_dropdown.scss
+1
-1
scss/_dropdown.scss
scss/_variables.scss
+1
-0
scss/_variables.scss
with
2 additions
and
1 deletion
+2
-1
scss/_dropdown.scss
+
1
-
1
View file @
af68bc2c
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
z-index
:
$zindex-dropdown
;
z-index
:
$zindex-dropdown
;
display
:
none
;
// none by default, but block on "open" of the menu
display
:
none
;
// none by default, but block on "open" of the menu
float
:
left
;
float
:
left
;
min-width
:
160px
;
min-width
:
$dropdown-min-width
;
padding
:
5px
0
;
padding
:
5px
0
;
margin
:
2px
0
0
;
// override default ul
margin
:
2px
0
0
;
// override default ul
font-size
:
$font-size-base
;
font-size
:
$font-size-base
;
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
1
-
0
View file @
af68bc2c
...
@@ -426,6 +426,7 @@ $form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www
...
@@ -426,6 +426,7 @@ $form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www
//
//
// Dropdown menu container and contents.
// Dropdown menu container and contents.
$dropdown-min-width
:
160px
!
default
;
$dropdown-bg
:
#fff
!
default
;
$dropdown-bg
:
#fff
!
default
;
$dropdown-border-color
:
rgba
(
0
,
0
,
0
,.
15
)
!
default
;
$dropdown-border-color
:
rgba
(
0
,
0
,
0
,.
15
)
!
default
;
$dropdown-border-width
:
$border-width
!
default
;
$dropdown-border-width
:
$border-width
!
default
;
...
...
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