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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
dfe9f367
Commit
dfe9f367
authored
Mar 26, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix image width for markdown
parent
39ea486e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+10
-0
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+1
-1
No files found.
app/assets/stylesheets/common.scss
View file @
dfe9f367
...
@@ -11,6 +11,7 @@ a {
...
@@ -11,6 +11,7 @@ a {
}
}
}
}
.btn
{
.btn
{
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#f1f1f1
)
,
color-stop
(
25%
,
#f1f1f1
)
,
to
(
#e6e6e6
));
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#f1f1f1
)
,
color-stop
(
25%
,
#f1f1f1
)
,
to
(
#e6e6e6
));
background-image
:
-webkit-linear-gradient
(
#f1f1f1
,
#f1f1f1
25%
,
#e6e6e6
);
background-image
:
-webkit-linear-gradient
(
#f1f1f1
,
#f1f1f1
25%
,
#e6e6e6
);
...
@@ -1016,6 +1017,8 @@ p.time {
...
@@ -1016,6 +1017,8 @@ p.time {
@extend
.prepend-top-20
;
@extend
.prepend-top-20
;
@extend
.append-bottom-20
;
@extend
.append-bottom-20
;
img
{
max-width
:
100%
;
}
pre
{
pre
{
background
:
white
!
important
;
background
:
white
!
important
;
...
@@ -1111,6 +1114,7 @@ p.time {
...
@@ -1111,6 +1114,7 @@ p.time {
// Fix issue with notes & lists creating a bunch of bottom borders.
// Fix issue with notes & lists creating a bunch of bottom borders.
li
.note
{
li
.note
{
img
{
max-width
:
100%
}
.note-title
{
.note-title
{
li
{
li
{
border-bottom
:none
!
important
;
border-bottom
:none
!
important
;
...
@@ -1121,3 +1125,9 @@ li.note {
...
@@ -1121,3 +1125,9 @@ li.note {
}
}
}
}
}
}
.markdown
{
img
{
max-width
:
100%
;
}
}
app/views/projects/show.html.haml
View file @
dfe9f367
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
=
text_field_tag
:project_clone
,
@project
.
url_to_repo
,
:class
=>
"xlarge one_click_select git_clone_url"
=
text_field_tag
:project_clone
,
@project
.
url_to_repo
,
:class
=>
"xlarge one_click_select git_clone_url"
-
if
@project
.
description
.
present?
-
if
@project
.
description
.
present?
.prettyprint
=
markdown
@project
.
description
.
markdown.
prettyprint
=
markdown
@project
.
description
-
unless
@events
.
blank?
-
unless
@events
.
blank?
%br
%br
%h5
.cgray
%h5
.cgray
...
...
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