Add height limit to release notes side card
This commit is contained in:
@@ -92,3 +92,8 @@
|
||||
max-height: 1em;
|
||||
filter: none !important;
|
||||
}
|
||||
|
||||
.release-notes-body {
|
||||
max-height: 20em;
|
||||
overflow: hidden auto;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
{%- endif %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css?v=4">
|
||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=56">
|
||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=57">
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
||||
|
||||
{% if noindex -%}
|
||||
|
||||
@@ -397,7 +397,7 @@
|
||||
<h3 id="release_notes" class="card-header">
|
||||
{{ _("Release notes for %(title)s", title=release.title) }}
|
||||
</h3>
|
||||
<div class="card-body markdown">
|
||||
<div class="card-body markdown release-notes-body">
|
||||
{{ release.release_notes | markdown }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user