Changeset - ba8781f3f2c2
[Not reviewed]
default
0 1 0
Mads Kiilerich (kiilerix) - 7 years ago 2018-02-21 09:58:21
mads@kiilerich.com
less: fix changelog commit message flowing into the labels that are floating to the right of it

For long commit messages, two texts were shown on top of each other and none of
them could be read.

To fix that, give the floating labels a solid white background.

To avoid a hard cut-off of the commit message, use a white box-shadow to the
left of the labels to give a smooth transition.

To avoid the commit message flowing into the td padding to the right of the
labels, make log-container hide overflow.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general) First comment
kallithea/public/less/style.less
Show inline comments
 
@@ -814,10 +814,13 @@ div.comment-prev-next-links div.next-com
 
  }
 
  .mid > .log-container {
 
    position: relative;
 
    overflow: hidden;
 
    > .extra-container {
 
      position: absolute;
 
      top: 0;
 
      right: 0;
 
      background: white;
 
      box-shadow: -10px 0px 10px 0px white;
 
    }
 
  }
 
}
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now