Changeset - 124600ca326e
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2018-02-20 20:31:18
dominikruf@gmail.com
Grafted from: fa609ef704a4
less: use "vertical-align: baseline" in changelog to align texts of different sizes

Date and hash use smaller fonts so use baseline to align the texts.

(The checkbox-column doesn't follow this alignment and is jumping around (and
controlling the line height).)
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/public/less/style.less
Show inline comments
 
@@ -761,48 +761,49 @@ div.comment-prev-next-links div.next-com
 
  margin-left: 100px;
 
}
 

	
 
/* repo table icons */
 
#repos_list_wrap_wrapper {
 
  /* make icon-folder and repotag the same width */
 
  .icon-folder:before {
 
    margin: 0; // default margin would otherwise add to the total width
 
    width: 24px;
 
    text-align: left;
 
  }
 
  .label-repo {
 
    display: inline-block;
 
    width: 24px;
 
  }
 
}
 

	
 
/* changelog table columns */
 
.table#changesets {
 
  table-layout: fixed;
 
  td {
 
    overflow: hidden;
 
    text-overflow: ellipsis;
 
    white-space: nowrap;
 
    vertical-align: baseline;
 
  }
 
  .checkbox-column {
 
    width: 24px;
 
    /* the optional second checkbox will be inline-block but should wrap to a new line */
 
    white-space: normal;
 
  }
 
  .changeset-logical-index {
 
    color: @gray-light;
 
    font-style: italic;
 
    font-size: 85%;
 
    text-align: right;
 
    overflow: visible;
 
  }
 
  .changeset-logical-index,
 
  .expand_commit,
 
  .status {
 
    width: 28px;
 
  }
 
  .author {
 
    width: 200px;
 
  }
 
  .hash {
 
    .small;
 
    width: 110px;
0 comments (0 inline, 0 general)