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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f5868c14
Commit
f5868c14
authored
Jun 13, 2018
by
Simon Knox
Committed by
Clement Ho
Jun 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Scrolling tabs are broken on profile, activity, and projects"
parent
69228d79
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
26 deletions
+23
-26
app/assets/stylesheets/framework/mixins.scss
app/assets/stylesheets/framework/mixins.scss
+1
-0
app/assets/stylesheets/framework/secondary_navigation_elements.scss
.../stylesheets/framework/secondary_navigation_elements.scss
+2
-0
app/assets/stylesheets/pages/merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+1
-0
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-6
app/views/projects/merge_requests/show.html.haml
app/views/projects/merge_requests/show.html.haml
+19
-20
No files found.
app/assets/stylesheets/framework/mixins.scss
View file @
f5868c14
...
...
@@ -186,6 +186,7 @@
overflow-y
:
hidden
;
-webkit-overflow-scrolling
:
touch
;
display
:
flex
;
flex-wrap
:
nowrap
;
&
:
:-
webkit-scrollbar
{
display
:
none
;
...
...
app/assets/stylesheets/framework/secondary_navigation_elements.scss
View file @
f5868c14
...
...
@@ -230,6 +230,8 @@
}
.scrolling-tabs-container
{
position
:
relative
;
.merge-request-tabs-container
&
{
overflow
:
hidden
;
}
...
...
app/assets/stylesheets/pages/merge_requests.scss
View file @
f5868c14
...
...
@@ -678,6 +678,7 @@
.merge-request-tabs
{
display
:
flex
;
flex-wrap
:
nowrap
;
margin-bottom
:
0
;
padding
:
0
;
}
...
...
app/assets/stylesheets/pages/projects.scss
View file @
f5868c14
...
...
@@ -354,12 +354,6 @@
min-width
:
200px
;
}
.deploy-keys
{
.scrolling-tabs-container
{
position
:
relative
;
}
}
.deploy-key
{
// Ensure that the fingerprint does not overflow on small screens
.fingerprint
{
...
...
app/views/projects/merge_requests/show.html.haml
View file @
f5868c14
...
...
@@ -32,26 +32,25 @@
.scrolling-tabs-container.inner-page-scroll-tabs.is-smaller
.fade-left
=
icon
(
'angle-left'
)
.fade-right
=
icon
(
'angle-right'
)
.nav-links.scrolling-tabs.nav.nav-tabs
%ul
.merge-request-tabs.nav-tabs.nav
%li
.notes-tab
=
tab_link_for
@merge_request
,
:show
,
force_link:
@commit
.
present?
do
Discussion
%span
.badge.badge-pill
=
@merge_request
.
related_notes
.
user
.
count
-
if
@merge_request
.
source_project
%li
.commits-tab
=
tab_link_for
@merge_request
,
:commits
do
Commits
%span
.badge.badge-pill
=
@commits_count
-
if
@pipelines
.
any?
%li
.pipelines-tab
=
tab_link_for
@merge_request
,
:pipelines
do
Pipelines
%span
.badge.badge-pill.js-pipelines-mr-count
=
@pipelines
.
size
%li
.diffs-tab
=
tab_link_for
@merge_request
,
:diffs
do
Changes
%span
.badge.badge-pill
=
@merge_request
.
diff_size
%ul
.merge-request-tabs.nav-tabs.nav.nav-links.scrolling-tabs
%li
.notes-tab
=
tab_link_for
@merge_request
,
:show
,
force_link:
@commit
.
present?
do
Discussion
%span
.badge.badge-pill
=
@merge_request
.
related_notes
.
user
.
count
-
if
@merge_request
.
source_project
%li
.commits-tab
=
tab_link_for
@merge_request
,
:commits
do
Commits
%span
.badge.badge-pill
=
@commits_count
-
if
@pipelines
.
any?
%li
.pipelines-tab
=
tab_link_for
@merge_request
,
:pipelines
do
Pipelines
%span
.badge.badge-pill.js-pipelines-mr-count
=
@pipelines
.
size
%li
.diffs-tab
=
tab_link_for
@merge_request
,
:diffs
do
Changes
%span
.badge.badge-pill
=
@merge_request
.
diff_size
-
if
has_vue_discussions_cookie?
#js-vue-discussion-counter
...
...
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