Fix align issues and decrease avatar size on PR timeline (#11689)

* Fix margin for referenced issue title

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

* better align
This commit is contained in:
Cirno the Strongest 2020-06-06 22:30:10 +02:00 committed by GitHub
parent c8b1c4b10a
commit f6315fb477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -751,6 +751,13 @@
} }
} }
.avatar.image,
.avatar.image img {
width: 20px;
height: 20px;
margin-right: .15em;
}
&:first-child:not(.commit) { &:first-child:not(.commit) {
padding-top: 0 !important; padding-top: 0 !important;
} }
@ -762,7 +769,6 @@
.badge.badge-commit { .badge.badge-commit {
border-color: transparent; border-color: transparent;
background: radial-gradient(white 60%, transparent 60%) no-repeat; background: radial-gradient(white 60%, transparent 60%) no-repeat;
height: 0 !important;
} }
.badge { .badge {
@ -774,9 +780,9 @@
display: flex; display: flex;
float: left; float: left;
margin-left: -32px; margin-left: -32px;
margin-top: -1px;
margin-right: 8px; margin-right: 8px;
color: #444; color: #444;
align-items: center;
.svg { .svg {
width: 28px; width: 28px;
@ -804,7 +810,8 @@
} }
&.event > .text { &.event > .text {
line-height: 30px; line-height: 32px;
vertical-align: middle;
} }
&.commits-list { &.commits-list {
@ -812,8 +819,10 @@
padding-top: 0; padding-top: 0;
.singular-commit { .singular-commit {
line-height: 30px;
&:not(:last-child) { &:not(:last-child) {
padding-bottom: 3px; padding-bottom: 2px;
} }
.shabox { .shabox {
@ -1138,13 +1147,7 @@
.detail { .detail {
font-size: .9rem; font-size: .9rem;
margin-top: 5px; margin-top: 5px;
margin-left: 35px; margin-left: 8px;
.svg {
&.octicon-git-commit {
margin-top: 2px;
}
}
} }
.segments { .segments {