Skip to content

Commit 21251a1

Browse files
authored
Merge pull request #1965 from yosmoc/tooltip_size_position_fix
standardrize sidebar tooltips
2 parents 67143ba + a593842 commit 21251a1

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

browser/components/SideNavFilter.styl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
.iconWrap
1919
width 20px
2020
text-align center
21-
21+
2222
.counters
2323
float right
2424
color $ui-inactive-text-color
@@ -68,10 +68,9 @@
6868
.menu-button-label
6969
position fixed
7070
display inline-block
71-
height 32px
71+
height 36px
7272
left 44px
7373
padding 0 10px
74-
margin-top -8px
7574
margin-left 0
7675
overflow ellipsis
7776
z-index 10

browser/components/StorageItem.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
opacity 0
5959
border-top-right-radius 2px
6060
border-bottom-right-radius 2px
61-
height 26px
62-
line-height 26px
61+
height 34px
62+
line-height 32px
6363

6464
.folderList-item:hover, .folderList-item--active:hover
6565
.folderList-item-tooltip

browser/main/SideNav/StorageItem.styl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
height 36px
4545
padding-left 25px
4646
padding-right 15px
47-
line-height 22px
47+
line-height 36px
4848
cursor pointer
4949
font-size 14px
5050
border none
@@ -147,7 +147,7 @@ body[data-theme="dark"]
147147
background-color $ui-dark-button--active-backgroundColor
148148
&:active
149149
color $ui-dark-text-color
150-
background-color $ui-dark-button--active-backgroundColor
150+
background-color $ui-dark-button--active-backgroundColor
151151

152152
.header--active
153153
.header-addFolderButton
@@ -180,7 +180,7 @@ body[data-theme="dark"]
180180
&:active, &:active:hover
181181
color $ui-dark-text-color
182182
background-color $ui-dark-button--active-backgroundColor
183-
183+
184184

185185

186186

0 commit comments

Comments
 (0)