Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show the scroll bar when the tag list is overflow #2720

Merged
merged 3 commits into from
Jan 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions browser/main/Detail/TagSelect.styl
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@
align-items center
user-select none
vertical-align middle
width 100%
overflow-x scroll
width 96%
overflow-x auto
white-space nowrap
margin-top 31px
top 50px
position absolute

.root::-webkit-scrollbar
display none
&::-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
Expand Down
4 changes: 3 additions & 1 deletion browser/styles/Detail/TagSelect.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down