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
Tatuya Kamada
gitlab-ce
Commits
18b7acc3
Commit
18b7acc3
authored
Jan 15, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-anchor-bug' into 'master'
Fix anchor bug Fixes #1886 See merge request !1395
parents
ff7f4a13
1e45ba7f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
9 deletions
+31
-9
app/assets/stylesheets/generic/timeline.scss
app/assets/stylesheets/generic/timeline.scss
+11
-0
app/assets/stylesheets/generic/typography.scss
app/assets/stylesheets/generic/typography.scss
+13
-2
app/assets/stylesheets/main/layout.scss
app/assets/stylesheets/main/layout.scss
+0
-1
app/assets/stylesheets/main/mixins.scss
app/assets/stylesheets/main/mixins.scss
+4
-2
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+0
-2
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+1
-0
app/views/layouts/_head_panel.html.haml
app/views/layouts/_head_panel.html.haml
+1
-1
features/steps/shared/issuable.rb
features/steps/shared/issuable.rb
+1
-1
No files found.
app/assets/stylesheets/generic/timeline.scss
View file @
18b7acc3
...
@@ -20,6 +20,17 @@
...
@@ -20,6 +20,17 @@
margin-bottom
:
10px
;
margin-bottom
:
10px
;
clear
:
both
;
clear
:
both
;
/* Hack for anchors and fixed navbar */
&
[
id
]
{
&
:before
{
content
:
''
;
display
:
block
;
position
:
relative
;
width
:
0
;
height
:
3em
;
margin-top
:
-3em
;
}
}
&
:target
{
&
:target
{
.timeline-entry-inner
.timeline-content
{
.timeline-entry-inner
.timeline-content
{
...
...
app/assets/stylesheets/generic/typography.scss
View file @
18b7acc3
...
@@ -98,8 +98,7 @@ a:focus {
...
@@ -98,8 +98,7 @@ a:focus {
$size
:
16px
;
$size
:
16px
;
position
:
absolute
;
position
:
absolute
;
right
:
100%
;
right
:
100%
;
top
:
50%
;
bottom
:
7px
;
margin-top
:
-
$size
/
2
;
margin-right
:
0px
;
margin-right
:
0px
;
padding-right
:
20px
;
padding-right
:
20px
;
display
:
inline-block
;
display
:
inline-block
;
...
@@ -109,6 +108,18 @@ a:focus {
...
@@ -109,6 +108,18 @@ a:focus {
background-size
:
contain
;
background-size
:
contain
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
/* Hack for anchors and fixed navbar */
&
[
id
]
{
&
:before
{
content
:
''
;
display
:
block
;
position
:
relative
;
width
:
0
;
height
:
3em
;
margin-top
:
-3em
;
}
}
}
}
ul
{
ul
{
...
...
app/assets/stylesheets/main/layout.scss
View file @
18b7acc3
...
@@ -12,4 +12,3 @@ html {
...
@@ -12,4 +12,3 @@ html {
.container
.content
{
.container
.content
{
margin
:
0
0
;
margin
:
0
0
;
}
}
app/assets/stylesheets/main/mixins.scss
View file @
18b7acc3
...
@@ -65,8 +65,10 @@
...
@@ -65,8 +65,10 @@
max-width
:
100%
;
max-width
:
100%
;
}
}
*
:first-child
{
h1
,
h2
,
h3
{
margin-top
:
0
;
&
:first-child
{
margin-top
:
0
;
}
}
}
code
{
padding
:
0
4px
;
}
code
{
padding
:
0
4px
;
}
...
...
app/assets/stylesheets/sections/header.scss
View file @
18b7acc3
...
@@ -8,8 +8,6 @@ header {
...
@@ -8,8 +8,6 @@ header {
margin-bottom
:
0
;
margin-bottom
:
0
;
min-height
:
40px
;
min-height
:
40px
;
border
:
none
;
border
:
none
;
position
:
fixed
;
top
:
0
;
width
:
100%
;
width
:
100%
;
.navbar-inner
{
.navbar-inner
{
...
...
app/assets/stylesheets/sections/notes.scss
View file @
18b7acc3
...
@@ -57,6 +57,7 @@ ul.notes {
...
@@ -57,6 +57,7 @@ ul.notes {
.note
{
.note
{
display
:
block
;
display
:
block
;
position
:relative
;
position
:relative
;
.attachment
{
.attachment
{
font-size
:
14px
;
font-size
:
14px
;
}
}
...
...
app/views/layouts/_head_panel.html.haml
View file @
18b7acc3
%header
.navbar.navbar-
static
-top.navbar-gitlab
%header
.navbar.navbar-
fixed
-top.navbar-gitlab
.navbar-inner
.navbar-inner
.container
.container
%div
.app_logo
%div
.app_logo
...
...
features/steps/shared/issuable.rb
View file @
18b7acc3
...
@@ -2,7 +2,7 @@ module SharedIssuable
...
@@ -2,7 +2,7 @@ module SharedIssuable
include
Spinach
::
DSL
include
Spinach
::
DSL
def
edit_issuable
def
edit_issuable
find
(
:css
,
'.issuable-edit'
).
click
find
(
:css
,
'.issuable-edit'
).
trigger
(
'click'
)
end
end
step
'I click link "Edit" for the merge request'
do
step
'I click link "Edit" for the merge request'
do
...
...
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