# HG changeset patch # User Mads Kiilerich # Date 1553217105 -3600 # Node ID 6188d37b9d72aae60b4b3d54e1beee0706eff332 # Parent ad5f5906e340668440898b88404fc8bc4151b568 style: adjust vertical spacing inside comment chunks Use less spacing after comment panels inside comment sections (10px from @kallithea-panel-margin instead of 20px) to hint that the comments are related ... and also to avoid using too much vertical space. Also show Comment/Cancel buttoms closer to the comment form ("well") they are related to. diff -r ad5f5906e340 -r 6188d37b9d72 kallithea/front-end/style.less --- a/kallithea/front-end/style.less Fri Mar 22 02:09:16 2019 +0100 +++ b/kallithea/front-end/style.less Fri Mar 22 02:11:45 2019 +0100 @@ -90,6 +90,8 @@ overflow-x: visible; } +/* margin below PR comments */ +.comment > .panel, /* margin below top level panels */ #main > .panel { margin-bottom: @kallithea-panel-margin; @@ -547,6 +549,9 @@ .inline-comments .comments-number { padding: 0px 0px 10px 0px; } +.comment-inline-well { + margin-bottom: @kallithea-panel-margin; +} input.status_change_checkbox, input.status_change_radio { margin: 0 0 5px 15px; diff -r ad5f5906e340 -r 6188d37b9d72 kallithea/templates/changeset/changeset_file_comment.html --- a/kallithea/templates/changeset/changeset_file_comment.html Fri Mar 22 02:09:16 2019 +0100 +++ b/kallithea/templates/changeset/changeset_file_comment.html Fri Mar 22 02:11:45 2019 +0100 @@ -82,7 +82,7 @@
%if request.authuser.username != 'default': ${h.form('#', class_='inline-form')} -
+
${_('Comments are in plain text. Use @username to notify another user.')|n}