Skip to content

Commit

Permalink
style: update visible table of contents styles for improved spacing a…
Browse files Browse the repository at this point in the history
…nd layout
  • Loading branch information
SutuSebastian committed Jan 5, 2025
1 parent 0b34df5 commit 8895d51
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions apps/web/styles/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
@apply mt-0;
}

#visible-table-of-contents {
@apply list-none pl-0;
#visible-table-of-contents a {
@apply py-2;
}

#visible-table-of-contents ul ul li a {
Expand All @@ -26,18 +26,6 @@
@apply pl-9;
}

#visible-table-of-contents + ul {
@apply -ml-3 list-outside list-none pl-0;
}

#visible-table-of-contents ul ul {
@apply pt-3;
}

#visible-table-of-contents li {
@apply pb-3;
}

#visible-table-of-contents a {
@apply inline-block border-l border-white pl-2.5 font-medium transition-none duration-200 after:ml-2 after:text-primary-700 after:opacity-0 after:transition-opacity after:duration-100 after:content-['#'] hover:border-gray-300 hover:text-gray-900 hover:after:opacity-100;
}
Expand Down

0 comments on commit 8895d51

Please sign in to comment.