Skip to content

Commit

Permalink
Fix long sidebar labels
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Feb 1, 2022
1 parent dfeba17 commit a8ecabe
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions less/forum/sideNav.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,28 @@
margin: 2px 0;

> a {
--icon-size: 30px;
padding: 6px;
display: flex;
display: grid;
grid-template-columns: var(--icon-size) 1fr;
align-items: center;
border-radius: 25px;
transition: background-color 0.4s, color 0.4s;
font-size: 14px;
grid-gap: 10px;

.Button-icon {
.asirem-icon-block(30px);
.asirem-icon-block(var(--icon-size));
float: none;
margin: 0 10px 0 0;
margin: 0;
border-radius: 100%;
transition: background-color 0.4s;
}

.Button-label {
overflow: hidden;
text-overflow: ellipsis;
}
}

&.active {
Expand Down

0 comments on commit a8ecabe

Please sign in to comment.