Skip to content

Commit

Permalink
Fix avatar offset on PR/issue timeline view (#13753)
Browse files Browse the repository at this point in the history
* Fix avatar offset on PR/issue timeline view

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: silverwind <me@silverwind.io>
  • Loading branch information
CirnoT and silverwind authored Nov 30, 2020
1 parent 63aeb0a commit d7ab726
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,6 @@
width: 20px;
height: 20px;
margin-right: .5rem;
position: relative;
top: -2px;
}

&:first-child:not(.commit) {
Expand Down Expand Up @@ -894,6 +892,12 @@
.singular-commit {
line-height: 34px; /* this must be same as .badge height, to avoid overflow */

> .avatar.image,
> .avatar.image img {
position: relative;
top: -2px;
}

.shabox {
.sha.label {
margin: 0;
Expand Down

0 comments on commit d7ab726

Please sign in to comment.