Skip to content

Commit fd3da77

Browse files
committed
Only show component list on mobile
1 parent 69073ae commit fd3da77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/component.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<span class="govuk-caption-xl" v-if="page.title != 'Components'">Components</span>
1717
<ContentDoc/>
1818

19-
<ContentNavigation v-slot="{ navigation }" :query="componentsQuery" v-if="page.title === 'Components'">
19+
<ContentNavigation v-slot="{ navigation }" :query="componentsQuery" v-if="!isDesktop && page.title === 'Components'">
2020
<nav>
2121
<ul class="govuk-list">
2222
<li class="govuk-!-margin-bottom-2" v-for="link in navigation[0].children" :key="link._path">

0 commit comments

Comments
 (0)