[PATCH] changelog: fix display artifacts in expanded multi-line commit messages

Thomas De Schampheleire patrickdepinguin at gmail.com
Fri Feb 20 04:51:28 EST 2015


# HG changeset patch
# User Thomas De Schampheleire <thomas.de_schampheleire at alcatel-lucent.com>
# Date 1424425442 -3600
#      Fri Feb 20 10:44:02 2015 +0100
# Node ID 34ebcf88c211c1bc384c67b2d2410dae7096281f
# Parent  a9658ed8313565210debf93e7af7b282679b1301
changelog: fix display artifacts in expanded multi-line commit messages

When a multi-line commit message is expanded in a changelog, and the last line
of the commit message has some characters that go below the baseline, like an
underscore, g, j, y, ... the bottom part of these characters would not be
shown.

This is caused by the 'overflow: hidden' property set on the unexpanded
message. Reset that property by adding 'overflow: initial' on the expanded
class.

Additionally, slightly enlarge the margin of the expanded message box.

diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css
--- a/kallithea/public/css/style.css
+++ b/kallithea/public/css/style.css
@@ -2562,7 +2562,8 @@ BIN_FILENODE = 6
 #graph_content .container .mid .message.expanded,
 #graph_content_pr .compare_view_commits .message.expanded {
     height: auto;
-    margin: 4px 0px 4px 0px;
+    margin: 8px 0px 8px 0px;
+    overflow: initial;
 }
 
 #graph_content .container .extra-container {


More information about the kallithea-general mailing list