Anton Shestakov <av6@dwimlabs.net>, Mon, 13 Apr 2020 10:05:40 +0800
changeset: change margins on commit message so it fits the page better
Previously, margins were used to visually separate commit message from author.
Because of the left margin, it looked a bit out of place, so let's instead
remove the left margin and increase the top one. This way it aligns better with
surrounding blocks. Making commit message stand on its own on the page is now
delegated to just monospace font. The difference with other blocks is not huge,
but the whole theme is kinda minimalistic, so it should work.
--- a/templates/kit/changelogentry.tmpl Wed Jul 11 19:41:49 2018 +0800
+++ b/templates/kit/changelogentry.tmpl Mon Apr 13 10:05:40 2020 +0800
{author|obfuscate}, <span class="age">{date|rfc822date}</span>
- <div class="uk-margin-small uk-margin-small-left kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
+ <div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
--- a/templates/kit/changeset.tmpl Wed Jul 11 19:41:49 2018 +0800
+++ b/templates/kit/changeset.tmpl Mon Apr 13 10:05:40 2020 +0800
<div>{author|obfuscate}, <span class="age">{date|rfc822date}</span></div>
- <div class="uk-margin-small uk-margin-small-left kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
+ <div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
{if(obsolete, succsandmarkers%obsfateentry)}
{if(instabilities, whyunstable%whyunstableentry)}
--- a/templates/kit/fileannotate.tmpl Wed Jul 11 19:41:49 2018 +0800
+++ b/templates/kit/fileannotate.tmpl Mon Apr 13 10:05:40 2020 +0800
<div>{author|obfuscate}, <span class="age">{date|rfc822date}</span></div>
- <div class="uk-margin-small uk-margin-small-left kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
+ <div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
--- a/templates/kit/filecomparison.tmpl Wed Jul 11 19:41:49 2018 +0800
+++ b/templates/kit/filecomparison.tmpl Mon Apr 13 10:05:40 2020 +0800
<div>{author|obfuscate}, <span class="age">{date|rfc822date}</span></div>
- <div class="uk-margin-small uk-margin-small-left kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
+ <div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
--- a/templates/kit/filediff.tmpl Wed Jul 11 19:41:49 2018 +0800
+++ b/templates/kit/filediff.tmpl Mon Apr 13 10:05:40 2020 +0800
<div>{author|obfuscate}, <span class="age">{date|rfc822date}</span></div>
- <div class="uk-margin-small uk-margin-small-left kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
+ <div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
--- a/templates/kit/filerevision.tmpl Wed Jul 11 19:41:49 2018 +0800
+++ b/templates/kit/filerevision.tmpl Mon Apr 13 10:05:40 2020 +0800
<div>{author|obfuscate}, <span class="age">{date|rfc822date}</span></div>
- <div class="uk-margin-small uk-margin-small-left kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
+ <div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
--- a/templates/kit/manifest.tmpl Wed Jul 11 19:41:49 2018 +0800
+++ b/templates/kit/manifest.tmpl Mon Apr 13 10:05:40 2020 +0800
<div>{author|obfuscate}, <span class="age">{date|rfc822date}</span></div>
- <div class="uk-margin-small uk-margin-small-left kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
+ <div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>