add user prose styles (bug 668411)
This commit is contained in:
Родитель
4890bca6af
Коммит
0b146cd30c
|
@ -153,7 +153,7 @@
|
|||
{% if addon.developer_comments %}
|
||||
<section class="expando" id="developer-comments">
|
||||
<h2>{{ _('Developer’s Comments') }}<a class="toggle" href="#developer-comments"><b></b></a></h2>
|
||||
<div class="content">
|
||||
<div class="content prose">
|
||||
<p{{ addon.developer_comments|locale_html }}>
|
||||
{{ addon.developer_comments|nl2br }}</p>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
.prose {
|
||||
line-height: 1.2em;
|
||||
ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
li {
|
||||
margin-left: 1em;
|
||||
}
|
||||
b, strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
i, em {
|
||||
font-style: italic;
|
||||
}
|
||||
blockquote {
|
||||
margin: 1em;
|
||||
}
|
||||
}
|
|
@ -420,6 +420,7 @@ MINIFY_BUNDLES = {
|
|||
'css/impala/sharing.less',
|
||||
'css/impala/collections.less',
|
||||
'css/impala/abuse.less',
|
||||
'css/impala/prose.less',
|
||||
),
|
||||
'zamboni/discovery-pane': (
|
||||
'css/zamboni/discovery-pane.css',
|
||||
|
|
Загрузка…
Ссылка в новой задаче