feat: vertical align node item

This commit is contained in:
EnixCoda 2020-05-29 22:51:31 +08:00
parent 89e3f24e29
commit a353b58e20
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -357,7 +357,7 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
justify-content: space-between;
margin: 0;
color: $blue;
line-height: 20px;
line-height: 18px;
padding: 8px 10px;
cursor: pointer;
border-bottom: 1px solid $border-gray-light;
@ -375,7 +375,8 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
&-type-icon {
margin-right: 4px;
@include icon-size();
width: 16px;
// not specify height here, it'll break vertical alignment
& + .octicon-wrapper,
& + .node-item-icon {