Skip to content

Commit

Permalink
fix: mobile view: TOC should not be rendered
Browse files Browse the repository at this point in the history
resolves #522
  • Loading branch information
srid committed Mar 6, 2024
1 parent 1f3a607 commit f0e0fdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions emanote/default/templates/components/body.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<main class="px-4 py-4">
<apply template="note-title" />
<ema:has:toc>
<div class="grid gap-4 md:grid-cols-8">
<div class="md:grid md:gap-4 md:grid-cols-8">
<div class="md:col-span-6">
<apply template="note-body" />
</div>
<div class="md:col-span-2 border-l">
<div class="hidden md:block md:col-span-2 md:border-l">
<apply template="toc" />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion emanote/emanote.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: emanote
version: 1.3.14.1
version: 1.3.14.2
license: AGPL-3.0-only
copyright: 2022 Sridhar Ratnakumar
maintainer: [email protected]
Expand Down

0 comments on commit f0e0fdf

Please sign in to comment.