Skip to content

Commit

Permalink
Sidebar 200% layout (#3695)
Browse files Browse the repository at this point in the history
  • Loading branch information
kornifex authored Oct 21, 2024
1 parent 35c180e commit 83a6a3f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions front/src/Apps/common/Components/SideBar/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,25 @@
top: 56px;

&__item {
display: block;
display: -webkit-box;
line-clamp: 2;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
word-break: break-all;
line-height: 30px;
border-left: 3px solid transparent;
padding-left: 1rem;

&--indented {
padding-left: 1.2rem;
}

&--chapter {
margin-top: 0.8rem;
font-weight: bold;
}

&:hover {
border-color: $blue-dark;
}
Expand All @@ -38,7 +46,6 @@
list-style: none;

a {
display: inline-block;
text-decoration: none;
color: $black;
}
Expand Down

0 comments on commit 83a6a3f

Please sign in to comment.