Skip to content

Commit

Permalink
Fix rules page sidebar scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Aug 15, 2024
1 parent 0bc660a commit 064bceb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions site/src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,19 +217,25 @@ button {
.rules-aside-toc ul {
margin: 0;
padding: 0;
height: 100%;
height: calc(100% - 2rem);
overflow-x: hidden;
overflow-y: auto;
}

.rules-aside-toc li {
list-style: none;
line-height: 1.5;
margin-bottom: 0.2rem;
opacity: 0.8;
}

.rules-aside-toc a {
text-decoration: none;
display: block;
padding: 0.1rem 0;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: color cubic-bezier(0.4, 0, 0.2, 1) 150ms;
}

Expand Down

0 comments on commit 064bceb

Please sign in to comment.