Skip to content

Commit

Permalink
update toc for large screen sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
tjheffner committed Mar 20, 2024
1 parent bc160be commit 63c792a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/Toc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<!-- adjust margins to slide in/out, works with sticky -->
<!-- need to adjust left margin to slide text, right margin to slide bg -->
<ul class="toc-list max-h-fit {isOpen ? '-ml-6 mr-0 lg:ml-2' : '-ml-96 mr-96'}">
<ul class="toc-list max-h-fit {isOpen ? '-ml-6 mr-0 lg:ml-2 opacity-100' : '-ml-96 mr-96 opacity-0'}">
{#each $tocStore.items.values() as { id, text, element }}
<li>
<a
Expand Down

0 comments on commit 63c792a

Please sign in to comment.