From a7c928fee92edb636e05f676245fec5b0bfcb86a Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Wed, 11 Nov 2020 15:45:32 +0800 Subject: [PATCH] chore: file tree item height and scroll bar --- src/content.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content.scss b/src/content.scss index 4d66c31..8f9c653 100644 --- a/src/content.scss +++ b/src/content.scss @@ -425,6 +425,7 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header- .files { flex: 1; overflow: auto; + overflow-x: hidden; // prevent x-scroll bar show up while sizing } .node-item { @@ -448,7 +449,7 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header- margin: 0; color: $blue; line-height: 18px; - padding: 8px 10px; + padding: 9px 10px; cursor: pointer; border-bottom: 1px solid $border-gray-light; white-space: nowrap;