Skip to content

Commit

Permalink
fix(container): make fluid option optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Jan 6, 2023
1 parent cb1eae8 commit 0d8fb74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/app/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const hasDialog = computed(() => navigation.value?.length > 1)

<template>
<header :class="{ 'has-dialog': hasDialog, 'has-doc-search': hasDocSearch }">
<Container :fluid="docus.layout.fluid">
<Container :fluid="docus?.layout?.fluid || false">
<div class="section left">
<AppHeaderDialog v-if="hasDialog" />
<AppHeaderLogo />
Expand Down Expand Up @@ -105,4 +105,4 @@ css({
}
}
})
</style>
</style>

0 comments on commit 0d8fb74

Please sign in to comment.