fix: no embricked .note
This commit is contained in:
@@ -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 />
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user