BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
31f1cebe
Commit
31f1cebe
authored
Oct 17, 2012
by
Valeriy Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wiki style: move styles to right place
parent
607d8b79
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
16 deletions
+14
-16
files.scss
app/assets/stylesheets/gitlab_bootstrap/files.scss
+0
-14
wiki.scss
app/assets/stylesheets/sections/wiki.scss
+12
-2
markdown.rb
lib/gitlab/markdown.rb
+2
-0
No files found.
app/assets/stylesheets/gitlab_bootstrap/files.scss
View file @
31f1cebe
...
@@ -37,20 +37,6 @@
...
@@ -37,20 +37,6 @@
background
:
#fff
;
background
:
#fff
;
font-size
:
11px
;
font-size
:
11px
;
&
.wiki
{
font-size
:
13px
;
code
{
padding
:
0
4px
;
}
padding
:
20px
;
h1
,
h2
{
line-height
:
46px
;
}
h3
,
h4
{
line-height
:
40px
;
}
}
&
.image_file
{
&
.image_file
{
background
:
#eee
;
background
:
#eee
;
text-align
:center
;
text-align
:center
;
...
...
app/assets/stylesheets/sections/wiki.scss
View file @
31f1cebe
.wiki
{
.wiki
{
padding
:
5px
;
font-size
:
13px
;
code
{
padding
:
0
4px
;
}
padding
:
20px
;
h1
,
h2
{
line-height
:
46px
;
}
h3
,
h4
{
line-height
:
40px
;
}
}
}
lib/gitlab/markdown.rb
View file @
31f1cebe
...
@@ -176,6 +176,8 @@ module Gitlab
...
@@ -176,6 +176,8 @@ module Gitlab
if
commit
=
@project
.
commit
(
identifier
)
if
commit
=
@project
.
commit
(
identifier
)
link_to
(
identifier
,
project_commit_path
(
@project
,
commit
),
html_options
.
merge
(
title:
CommitDecorator
.
new
(
commit
).
link_title
,
class:
"gfm gfm-commit
#{
html_options
[
:class
]
}
"
))
link_to
(
identifier
,
project_commit_path
(
@project
,
commit
),
html_options
.
merge
(
title:
CommitDecorator
.
new
(
commit
).
link_title
,
class:
"gfm gfm-commit
#{
html_options
[
:class
]
}
"
))
end
end
rescue
Grit
::
NoSuchPathError
nil
end
end
end
end
end
end
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