Skip to content

Commit

Permalink
Fix align issues and decrease avatar size on PR timeline (#11689)
Browse files Browse the repository at this point in the history
* Fix margin for referenced issue title

* Change avatar size to 20px, align referenced issue title to avatar

* better align
  • Loading branch information
CirnoT authored Jun 6, 2020
1 parent c8b1c4b commit f6315fb
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,13 @@
}
}

.avatar.image,
.avatar.image img {
width: 20px;
height: 20px;
margin-right: .15em;
}

&:first-child:not(.commit) {
padding-top: 0 !important;
}
Expand All @@ -762,7 +769,6 @@
.badge.badge-commit {
border-color: transparent;
background: radial-gradient(white 60%, transparent 60%) no-repeat;
height: 0 !important;
}

.badge {
Expand All @@ -774,9 +780,9 @@
display: flex;
float: left;
margin-left: -32px;
margin-top: -1px;
margin-right: 8px;
color: #444;
align-items: center;

.svg {
width: 28px;
Expand Down Expand Up @@ -804,16 +810,19 @@
}

&.event > .text {
line-height: 30px;
line-height: 32px;
vertical-align: middle;
}

&.commits-list {
padding-left: 15px;
padding-top: 0;

.singular-commit {
line-height: 30px;

&:not(:last-child) {
padding-bottom: 3px;
padding-bottom: 2px;
}

.shabox {
Expand Down Expand Up @@ -1138,13 +1147,7 @@
.detail {
font-size: .9rem;
margin-top: 5px;
margin-left: 35px;

.svg {
&.octicon-git-commit {
margin-top: 2px;
}
}
margin-left: 8px;
}

.segments {
Expand Down

0 comments on commit f6315fb

Please sign in to comment.