Skip to content

Commit 523e289

Browse files
authored
Merge pull request #1773 from nextcloud/fix/1395-Layout-issues
Fix a scroll bar inside the app navigation
2 parents 590b6ff + 7392f7a commit 523e289

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

src/App.vue

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
<EditorHint v-if="editorHint" @close="editorHint=false" />
88
<NcContent v-else app-name="notes" :content-class="{loading: loading.notes}">
99
<NcAppNavigation :class="{loading: loading.notes, 'icon-error': error}">
10-
<NcAppNavigationNew
11-
v-show="!loading.notes && !error"
12-
:text="t('notes', 'New note')"
13-
@click="onNewNote"
14-
>
15-
<PlusIcon slot="icon" :size="20" />
16-
</NcAppNavigationNew>
10+
<template #search>
11+
<NcAppNavigationNew
12+
v-show="!loading.notes && !error"
13+
:text="t('notes', 'New note')"
14+
@click="onNewNote"
15+
>
16+
<PlusIcon slot="icon" :size="20" />
17+
</NcAppNavigationNew>
18+
</template>
1719

1820
<template #list>
1921
<CategoriesList v-show="!loading.notes"

0 commit comments

Comments
 (0)