fix: no embricked .note

This commit is contained in:
Julien Calixte
2026-02-13 23:42:17 +01:00
parent 25f3ed1181
commit 1baa9794ba
2 changed files with 9 additions and 7 deletions

View File

@@ -5,11 +5,10 @@
<repo-list /> <repo-list />
<p> <p>
Lite notes are Lite notes are now
<router-link :to="{ name: 'PublicNoteListView' }" class="btn"
<router-link :to="{ name: 'PublicNoteListView' }" class="btn btn-link" >public</router-link
>now public</router-link >
>!
</p> </p>
<last-visited /> <last-visited />

View File

@@ -67,10 +67,10 @@ const content = computed(() =>
class="title-stacked-note-link" class="title-stacked-note-link"
@click.prevent="scrollToFocusedNote()" @click.prevent="scrollToFocusedNote()"
v-if="alias && title" v-if="alias && title"
>{{ alias }} | {{ title }}</a >{{ title }}</a
> >
</div> </div>
<article v-html="content" class="note"></article> <article v-html="content"></article>
</div> </div>
</div> </div>
</template> </template>
@@ -81,6 +81,9 @@ const content = computed(() =>
flex: 1; flex: 1;
.article { .article {
position: sticky;
left: 0;
top: 0;
padding: 0 2rem; padding: 0 2rem;
scrollbar-width: none; scrollbar-width: none;
} }