[PATCH 1 of 2] style: remove vertical scrollbar on hover of last line's comment bubble

Thomas De Schampheleire thomas.de_schampheleire at nokia.com
Sun Sep 16 20:09:46 UTC 2018


# HG changeset patch
# User Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
# Date 1537124610 -7200
#      Sun Sep 16 21:03:30 2018 +0200
# Node ID 8b3421dac90c2efc869ec7295a3cd2b544a245d6
# Parent  d63018164a308f1005c250a284279fe6f15cf8a3
style: remove vertical scrollbar on hover of last line's comment bubble

When hovering the comment bubble of the last line of a diff, a vertical
scrollbar appears. This behavior is not present on the stable branch.

Attempts to fix the problem by changing element sizes or padding did not
solve the problem. As an alternative, this commit hides the vertical
overflow.

diff --git a/kallithea/public/less/kallithea-diff.less b/kallithea/public/less/kallithea-diff.less
--- a/kallithea/public/less/kallithea-diff.less
+++ b/kallithea/public/less/kallithea-diff.less
@@ -188,6 +188,7 @@ BIN_FILENODE = 6
   border: 1px solid @kallithea-theme-main-color;
   border-radius: 3px;
   box-sizing: border-box;
+  overflow-y: hidden;
 }
 .add-bubble div:before {
   font-size: 14px;


More information about the kallithea-general mailing list