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
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
16 deletions
+14
-16
app/assets/stylesheets/gitlab_bootstrap/files.scss
app/assets/stylesheets/gitlab_bootstrap/files.scss
+0
-14
app/assets/stylesheets/sections/wiki.scss
app/assets/stylesheets/sections/wiki.scss
+12
-2
lib/gitlab/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 @@
background
:
#fff
;
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
{
background
:
#eee
;
text-align
:center
;
...
...
app/assets/stylesheets/sections/wiki.scss
View file @
31f1cebe
.wiki
{
padding
:
5px
;
.wiki
{
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
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
]
}
"
))
end
rescue
Grit
::
NoSuchPathError
nil
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