Render readable Markdown release notes in the web updater #151

Merged
parkel merged 2 commits from feature/update-release-notes into main 2026-11-23 20:17:42 +01:00
Showing only changes of commit 35b40af593 - Show all commits
@@ -452,6 +452,55 @@ h2 {
overflow-wrap: anywhere;
}
.update-release {
padding: 0.75rem 0.9rem;
border: 1px solid var(--line);
border-radius: 0.5rem;
}
.update-release > summary {
cursor: pointer;
font-weight: 680;
}
.release-notes {
max-width: 80ch;
margin-top: 0.9rem;
}
.release-notes :is(h1, h2, h3, h4, h5, h6) {
margin: 1rem 0 0.25rem;
font-size: 1rem;
line-height: 1.3;
}
.release-notes :is(p, ul, ol, pre, blockquote) {
margin: 0.5rem 0;
}
.release-notes :is(ul, ol) {
padding-inline-start: 1.35rem;
}
.release-notes pre {
padding: 0.7rem 0.85rem;
border-radius: 0.4rem;
background: var(--code-bg);
color: var(--code-text);
font-size: 0.85rem;
white-space: pre-wrap;
}
.update-release-form {
margin-top: 0.9rem;
padding-top: 0.85rem;
border-top: 1px solid var(--line);
}
.update-release-form .button {
justify-self: start;
}
.account-toolbar {
justify-content: space-between;
}