Skip to content

Commit

Permalink
add: line-clamp to toc
Browse files Browse the repository at this point in the history
  • Loading branch information
therealzaybee committed Oct 19, 2023
1 parent dca649b commit bf28b0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/built/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2667,6 +2667,11 @@ body.dark {
word-break: break-all;
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
line-height: 1.65em;
}

.toc-container ol.toc-list .toc-list-item a:hover{
Expand Down
2 changes: 1 addition & 1 deletion assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ body.dark {
margin-top: 7px;
display:inline-block;
word-break: break-all;
@apply text-gray-500 dark:text-gray-400 hover:text-gray-500 dark:hover:text-gray-400;
@apply text-gray-500 dark:text-gray-400 hover:text-gray-500 dark:hover:text-gray-400 line-clamp;
}

.toc-container ol.toc-list .toc-list-item.is-active-li {
Expand Down

0 comments on commit bf28b0c

Please sign in to comment.