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
129e3217
Commit
129e3217
authored
7 years ago
by
Bryce Johnson
Committed by
Clement Ho
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Normalize styles for empty-state group-level new issue/MR combo button
parent
3955dcb4
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
app/assets/stylesheets/framework/nav.scss
app/assets/stylesheets/framework/nav.scss
+18
-5
app/views/shared/_new_project_item_select.html.haml
app/views/shared/_new_project_item_select.html.haml
+1
-1
changelogs/unreleased/36638-select-project-to-create-issue-button-is-disconnected-from-dropdown-button.yml
...ate-issue-button-is-disconnected-from-dropdown-button.yml
+5
-0
No files found.
app/assets/stylesheets/framework/nav.scss
View file @
129e3217
...
...
@@ -288,11 +288,7 @@
display
:
flex
;
max-width
:
350px
;
overflow
:
hidden
;
@media
(
max-width
:
$screen-xs-max
)
{
width
:
100%
;
max-width
:
none
;
}
float
:
right
;
.new-project-item-link
{
white-space
:
nowrap
;
...
...
@@ -305,6 +301,23 @@
}
}
.empty-state
.project-item-select-holder.btn-group
{
float
:
none
;
display
:
inline-block
;
.btn
{
// overrides styles applied to plain `.empty-state .btn`
margin
:
10px
0
;
max-width
:
300px
;
width
:
auto
;
@media
(
max-width
:
$screen-xs-max
)
{
max-width
:
250px
;
}
}
}
.new-project-item-select-button
.fa-caret-down
{
margin-left
:
2px
;
}
...
...
This diff is collapsed.
Click to expand it.
app/views/shared/_new_project_item_select.html.haml
View file @
129e3217
-
if
any_projects?
(
@projects
)
.project-item-select-holder.btn-group
.pull-right
.project-item-select-holder.btn-group
%a
.btn.btn-new.new-project-item-link
{
href:
''
,
data:
{
label:
local_assigns
[
:label
],
type:
local_assigns
[
:type
]
}
}
=
icon
(
'spinner spin'
)
=
project_select_tag
:project_path
,
class:
"project-item-select"
,
data:
{
include_groups:
local_assigns
[
:include_groups
],
order_by:
'last_activity_at'
,
relative_path:
local_assigns
[
:path
]
},
with_feature_enabled:
local_assigns
[
:with_feature_enabled
]
...
...
This diff is collapsed.
Click to expand it.
changelogs/unreleased/36638-select-project-to-create-issue-button-is-disconnected-from-dropdown-button.yml
0 → 100644
View file @
129e3217
---
title
:
Normalize styles for empty state combo button
merge_request
:
author
:
type
:
fixed
This diff is collapsed.
Click to expand it.
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