Skip to content

Commit aad0dd4

Browse files
Update sidebar-item-style.scss
Fix icon location for long titles in sidebar ![image](https://cloud.githubusercontent.com/assets/3078595/22404557/c8d1bca8-e63b-11e6-9a46-2792f5f4c8c1.png)
1 parent 32c176e commit aad0dd4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

components/sidebar-item/sidebar-item-style.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
@import 'functions';
33

44
.sidebar-item {
5+
position: relative;
56
font-size: getFontSize(-1);
67
margin-bottom: 0.75em;
78

89
&__title {
10+
padding-right: 15px;
911
font-weight: 400;
1012
text-decoration: none;
1113
color: inherit;
@@ -16,7 +18,8 @@
1618
}
1719

1820
&__toggle {
19-
float: right;
21+
position: absolute;
22+
right: 0;
2023
line-height: 1.5;
2124
cursor: pointer;
2225
color: getColor(dusty-grey);
@@ -76,4 +79,4 @@
7679
display: none;
7780
}
7881
}
79-
}
82+
}

0 commit comments

Comments
 (0)