From 48a905bf6f13f98090ba8cdf5bb367c5159e41f9 Mon Sep 17 00:00:00 2001 From: "richardtks8@gmail.com" Date: Sat, 29 Dec 2018 15:34:36 +0800 Subject: [PATCH] decrease the height of tags scrollbar --- browser/main/Detail/TagSelect.styl | 6 ++++-- browser/styles/Detail/TagSelect.styl | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/browser/main/Detail/TagSelect.styl b/browser/main/Detail/TagSelect.styl index 9e8ae68a..844561c6 100644 --- a/browser/main/Detail/TagSelect.styl +++ b/browser/main/Detail/TagSelect.styl @@ -6,13 +6,15 @@ width 96% overflow-x auto white-space nowrap - margin-top 31px + top 50px position absolute + &::-webkit-scrollbar + height 8px .tag display flex align-items center - margin 0px 2px + margin 0px 2px 2px padding 2px 4px background-color alpha($ui-tag-backgroundColor, 3%) border-radius 4px diff --git a/browser/styles/Detail/TagSelect.styl b/browser/styles/Detail/TagSelect.styl index 17e9f993..8900422c 100644 --- a/browser/styles/Detail/TagSelect.styl +++ b/browser/styles/Detail/TagSelect.styl @@ -4,8 +4,10 @@ border none background-color transparent outline none - padding 0 4px + padding 2px 4px + margin 0px 2px 2px font-size 13px + height 23px ul position fixed