Add height limit to release notes side card

This commit is contained in:
rubenwardy
2025-07-17 23:05:03 +01:00
parent bc62c2b1be
commit 14d8ef6cb1
3 changed files with 7 additions and 2 deletions

View File

@@ -92,3 +92,8 @@
max-height: 1em;
filter: none !important;
}
.release-notes-body {
max-height: 20em;
overflow: hidden auto;
}

View File

@@ -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 -%}

View File

@@ -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>