Skip to content

Commit 99cb6fa

Browse files
authored
Merge pull request #2720 from richardtks/fix-tag-allow-overflow
show the scroll bar when the tag list is overflow
2 parents fe011e8 + 48a905b commit 99cb6fa

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

browser/main/Detail/TagSelect.styl

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@
33
align-items center
44
user-select none
55
vertical-align middle
6-
width 100%
7-
overflow-x scroll
6+
width 96%
7+
overflow-x auto
88
white-space nowrap
9-
margin-top 31px
9+
top 50px
1010
position absolute
11-
12-
.root::-webkit-scrollbar
13-
display none
11+
&::-webkit-scrollbar
12+
height 8px
1413

1514
.tag
1615
display flex
1716
align-items center
18-
margin 0px 2px
17+
margin 0px 2px 2px
1918
padding 2px 4px
2019
background-color alpha($ui-tag-backgroundColor, 3%)
2120
border-radius 4px

browser/styles/Detail/TagSelect.styl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
border none
55
background-color transparent
66
outline none
7-
padding 0 4px
7+
padding 2px 4px
8+
margin 0px 2px 2px
89
font-size 13px
10+
height 23px
911

1012
ul
1113
position fixed

0 commit comments

Comments
 (0)