From a353b58e209c861d973be7a6adbdff7ca9382a69 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Fri, 29 May 2020 22:51:31 +0800 Subject: [PATCH] feat: vertical align node item --- src/content.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/content.scss b/src/content.scss index 7e20756..96e72d3 100644 --- a/src/content.scss +++ b/src/content.scss @@ -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 {