chore: align file explorer item height to GitHub's

This commit is contained in:
EnixCoda 2020-12-10 15:51:52 +08:00
parent 7f182e26e9
commit 7e8e6b6987
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD
2 changed files with 2 additions and 2 deletions

View file

@ -217,7 +217,7 @@ function ListView({
itemKey={(index, { visibleNodes }) => visibleNodes?.nodes[index]?.path}
itemData={itemData}
itemCount={visibleNodes.nodes.length}
itemSize={36}
itemSize={37}
height={height}
width={width}
>

View file

@ -449,7 +449,7 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
margin: 0;
color: $blue;
line-height: 18px;
padding: 9px 10px;
padding: 10px;
cursor: pointer;
border-bottom: 1px solid $border-gray-light;
white-space: nowrap;