Changeset - 6188d37b9d72
[Not reviewed]
default
0 2 0
Mads Kiilerich - 7 years ago 2019-03-22 02:11:45
mads@kiilerich.com
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.
2 files changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/front-end/style.less
Show inline comments
 
@@ -90,6 +90,8 @@ nav.navbar.mainmenu > .navbar-header > .
 
  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 @@ td.inline-comments {
 
.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;
kallithea/templates/changeset/changeset_file_comment.html
Show inline comments
 
@@ -82,7 +82,7 @@
 
  <div class="ac">
 
  %if request.authuser.username != 'default':
 
    ${h.form('#', class_='inline-form')}
 
      <div class="well well-sm clearfix">
 
      <div class="well well-sm clearfix comment-inline-well">
 
        <div class="comment-help">
 
          <span class="text-muted">${_('Comments are in plain text. Use @username to notify another user.')|n}</span>
 
        </div>
0 comments (0 inline, 0 general)