Skip to content

Commit 913e649

Browse files
committed
fix overflow style of item in folded SideNav
1 parent 7f87337 commit 913e649

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

browser/main/SideNav/FolderItem.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@
7070

7171
.root--folded
7272
@extend .root
73-
width 44px
73+
width 44px - 1
7474
&:hover .label-name
7575
width 100px
7676
.label
7777
padding-left 0
7878
text-align center
7979
right 0
8080
.label-icon
81-
width 44px
81+
width 44px - 1
8282
.label-name
8383
position fixed
8484
height 34px

browser/main/SideNav/RepositorySection.styl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@
103103

104104
.root-folded
105105
@extend .root
106-
width 44px
106+
width 44px - 1
107107
.header, .header--active
108-
width 44px
108+
width 44px - 1
109109
text-align center
110110
overflow hidden
111111
&:hover
@@ -116,13 +116,13 @@
116116
width 35px
117117
padding-right 5px
118118
.header-name
119-
width 44px
119+
width 44px - 1
120120
padding-left 0
121121
.header-name-label
122122
position fixed
123123
display inline-block
124124
height 34px
125-
left 44px
125+
left 44px - 1
126126
width 0
127127
box-sizing border-box
128128
margin-left 0
@@ -142,7 +142,7 @@
142142
top inherit
143143
bottom inherit
144144
z-index 11
145-
left 43px
145+
left 44px - 1
146146
box-sizing border-box
147147
overflow hidden
148148
.header-control-button
@@ -153,13 +153,13 @@
153153
&:hover
154154
background-color $ui-tooltip-button--hover-backgroundColor
155155
.newFolderButton
156-
width 44px
156+
width 44px - 1
157157
padding 0
158158
&:hover .newFolderButton-label
159159
width 100px
160160
.newFolderButton-icon
161161
text-align center
162-
width 44px
162+
width 44px - 1
163163
.newFolderButton-label
164164
position fixed
165165
display inline-block

browser/main/SideNav/SideNav.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
white-space nowrap
7676
transform rotate(90deg)
7777
.top-menu
78-
width 44px
78+
width 44px - 1
7979
text-align center
8080
&:hover .top-menu-label
8181
width 100px
@@ -97,7 +97,7 @@
9797
transition width 0.15s
9898
pointer-events none
9999
.menu-button, .menu-button--active
100-
width 44px
100+
width 44px - 1
101101
text-align center
102102
&:hover .menu-button-label
103103
width 100px

0 commit comments

Comments
 (0)