Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
4a12df3a
Commit
4a12df3a
authored
Oct 09, 2017
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make new .dropdown-menu style global
parent
bb133ff7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+1
-15
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
4a12df3a
...
@@ -218,7 +218,7 @@
...
@@ -218,7 +218,7 @@
min-width
:
240px
;
min-width
:
240px
;
max-width
:
500px
;
max-width
:
500px
;
margin-top
:
2px
;
margin-top
:
2px
;
margin-bottom
:
2px
;
margin-bottom
:
2
4
px
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
$gl-font-weight-normal
;
font-weight
:
$gl-font-weight-normal
;
padding
:
8px
0
;
padding
:
8px
0
;
...
@@ -757,23 +757,9 @@
...
@@ -757,23 +757,9 @@
// TODO: change global style and remove mixin
// TODO: change global style and remove mixin
@mixin
new-style-dropdown
(
$selector
:
''
)
{
@mixin
new-style-dropdown
(
$selector
:
''
)
{
#{
$selector
}
.dropdown-menu
,
#{
$selector
}
.dropdown-menu-nav
{
margin-bottom
:
24px
;
}
#{
$selector
}
.dropdown-menu-align-right
{
#{
$selector
}
.dropdown-menu-align-right
{
margin-top
:
2px
;
margin-top
:
2px
;
}
}
.open
{
#{
$selector
}
.dropdown-menu
,
#{
$selector
}
.dropdown-menu-nav
{
@media
(
max-width
:
$screen-xs-max
)
{
max-width
:
100%
;
}
}
}
}
}
@media
(
max-width
:
$screen-xs-max
)
{
@media
(
max-width
:
$screen-xs-max
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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