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
Léo-Paul Géneau
gitlab-ce
Commits
43f47490
Commit
43f47490
authored
Sep 07, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-mr-tabs-position' into 'master'
Fix mr tabs position Closes #37487 See merge request !14064
parents
728a13a9
2103d693
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+10
-2
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+4
-4
app/assets/stylesheets/pages/merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+2
-2
No files found.
app/assets/stylesheets/pages/diff.scss
View file @
43f47490
...
@@ -578,12 +578,12 @@
...
@@ -578,12 +578,12 @@
@media
(
min-width
:
$screen-sm-min
)
{
@media
(
min-width
:
$screen-sm-min
)
{
position
:
-
webkit-sticky
;
position
:
-
webkit-sticky
;
position
:
sticky
;
position
:
sticky
;
top
:
3
4px
;
top
:
2
4px
;
background-color
:
$white-light
;
background-color
:
$white-light
;
z-index
:
190
;
z-index
:
190
;
&
.diff-files-changed-merge-request
{
&
.diff-files-changed-merge-request
{
top
:
84
px
;
top
:
76
px
;
}
}
+
.files
,
+
.files
,
...
@@ -614,6 +614,14 @@
...
@@ -614,6 +614,14 @@
}
}
}
}
@media
(
min-width
:
$screen-sm-min
)
{
.with-performance-bar
{
.diff-files-changed.diff-files-changed-merge-request
{
top
:
76px
+
$performance-bar-height
;
}
}
}
.diff-file-changes
{
.diff-file-changes
{
width
:
450px
;
width
:
450px
;
z-index
:
150
;
z-index
:
150
;
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
43f47490
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
.right-sidebar
{
.right-sidebar
{
position
:
absolute
;
position
:
absolute
;
top
:
$
heade
r-height
;
top
:
$
new-navba
r-height
;
bottom
:
0
;
bottom
:
0
;
right
:
0
;
right
:
0
;
transition
:
width
.3s
;
transition
:
width
.3s
;
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
.issuable-sidebar
{
.issuable-sidebar
{
width
:
calc
(
100%
+
100px
);
width
:
calc
(
100%
+
100px
);
height
:
calc
(
100%
-
#{
$
heade
r-height
}
);
height
:
calc
(
100%
-
#{
$
new-navba
r-height
}
);
overflow-y
:
scroll
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
...
@@ -479,10 +479,10 @@
...
@@ -479,10 +479,10 @@
}
}
.with-performance-bar
.right-sidebar
{
.with-performance-bar
.right-sidebar
{
top
:
$
heade
r-height
+
$performance-bar-height
;
top
:
$
new-navba
r-height
+
$performance-bar-height
;
.issuable-sidebar
{
.issuable-sidebar
{
height
:
calc
(
100%
-
#{
$
heade
r-height
}
-
#{
$performance-bar-height
}
);
height
:
calc
(
100%
-
#{
$
new-navba
r-height
}
-
#{
$performance-bar-height
}
);
}
}
}
}
...
...
app/assets/stylesheets/pages/merge_requests.scss
View file @
43f47490
...
@@ -645,7 +645,7 @@
...
@@ -645,7 +645,7 @@
}
}
.merge-request-tabs-holder
{
.merge-request-tabs-holder
{
top
:
$
heade
r-height
;
top
:
$
new-navba
r-height
;
z-index
:
200
;
z-index
:
200
;
background-color
:
$white-light
;
background-color
:
$white-light
;
border-bottom
:
1px
solid
$border-color
;
border-bottom
:
1px
solid
$border-color
;
...
@@ -675,7 +675,7 @@
...
@@ -675,7 +675,7 @@
}
}
.with-performance-bar
.merge-request-tabs-holder
{
.with-performance-bar
.merge-request-tabs-holder
{
top
:
$
heade
r-height
+
$performance-bar-height
;
top
:
$
new-navba
r-height
+
$performance-bar-height
;
}
}
.merge-request-tabs
{
.merge-request-tabs
{
...
...
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