Skip to content

Commit

Permalink
fix: hide aside on mobile device
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosirera committed Dec 30, 2020
1 parent 34750d0 commit 6804321
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/blog/_slug.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<section class="md:flex">
<aside v-if="doc.toc.length" class="sidebar border rounded-md">
<aside
v-if="doc.toc.length"
class="sidebar border rounded-md hidden md:block"
>
<ContentTable :content="doc.toc" />
</aside>
<article class="mb-20">
Expand Down

0 comments on commit 6804321

Please sign in to comment.