Skip to content
Snippets Groups Projects
Commit dfe9f367 authored by randx's avatar randx
Browse files

fix image width for markdown

parent 39ea486e
No related branches found
No related tags found
No related merge requests found
Loading
@@ -11,6 +11,7 @@ a {
Loading
@@ -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);
Loading
@@ -1016,6 +1017,8 @@ p.time {
Loading
@@ -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;
Loading
@@ -1111,6 +1114,7 @@ p.time {
Loading
@@ -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;
Loading
@@ -1121,3 +1125,9 @@ li.note {
Loading
@@ -1121,3 +1125,9 @@ li.note {
} }
} }
} }
.markdown {
img {
max-width:100%;
}
}
Loading
@@ -21,7 +21,7 @@
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment