Skip to content

Commit bff8747

Browse files
committed
Revert "Fix sidebar text overflow when resized"
This reverts commit ef2f3d3.
1 parent ef2f3d3 commit bff8747

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/components/CategoryList/CategoryList.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
border-left: 1px solid #3e87b2;
1414

1515
a {
16-
display: flex;
17-
align-items: center;
16+
display: block;
1817
padding-left: 12px;
1918
height: 20px;
19+
line-height: 20px;
2020
color: #8fb9cf;
2121
font-size: 12px;
2222

@@ -33,11 +33,12 @@
3333

3434
&:first-of-type {
3535
@include DosisFont;
36-
flex: 0 0 50px;
36+
float: right;
37+
width: 50px;
3738
text-align: right;
3839
}
3940
&:last-of-type {
40-
flex: 1 1 auto;
41+
margin-right: 50px;
4142
overflow: hidden;
4243
text-overflow: ellipsis;
4344
white-space: nowrap;

src/components/Sidebar/Sidebar.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,6 @@ a.subitem {
330330
color: white;
331331

332332
> *:first-child {
333-
overflow: hidden;
334-
text-overflow: ellipsis;
335-
width: 100%;
336333
position: absolute;
337334
letter-spacing: 2px;
338335
line-height: 12px;

0 commit comments

Comments
 (0)