Skip to content

Commit

Permalink
[#2375] Tweak the markdown form styles
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jul 2, 2012
1 parent 081877b commit ef1f630
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ckan/public/base/less/forms.less
Expand Up @@ -221,6 +221,11 @@ textarea {
color: #282828;
}

.editor .info-block a {
color: @layoutLinkColor;
text-decoration: none;
}

.editor .info-block:after {
content: none;
}
Expand Down
2 changes: 1 addition & 1 deletion ckan/templates/macros/form.html
Expand Up @@ -107,7 +107,7 @@

{% call block(id or name, label or name, error, classes, control_classes=["editor"]) %}
<textarea id="{{ id or name }}" name="{{ name }}" cols="20" rows="5" placeholder="{{ placeholder }}">{{ value | e }}</textarea>
<span class="info-block">You can use <a href="http://daringfireball.net/projects/markdown/syntax">Markdown</a> editing here</span>
<span class="info-block">{% trans %}You can use <a href="http://daringfireball.net/projects/markdown/syntax">Markdown formatting</a> here{% endtrans %}</span>
{% endcall %}
{% endmacro %}

Expand Down

0 comments on commit ef1f630

Please sign in to comment.