♻️
This commit is contained in:
@@ -13,9 +13,12 @@ export const useFolderNotes = (folder: string) => {
|
|||||||
const content = computed(() =>
|
const content = computed(() =>
|
||||||
fleetingNotes.value?.length > 0
|
fleetingNotes.value?.length > 0
|
||||||
? fleetingNotes.value
|
? fleetingNotes.value
|
||||||
.map((note) => `- [${note.path}](${note.path})`)
|
.map(
|
||||||
|
(note) =>
|
||||||
|
`- [${note.path?.replace(`${folder}/`, '')}](${note.path})`
|
||||||
|
)
|
||||||
.join('\n')
|
.join('\n')
|
||||||
: null
|
: ''
|
||||||
)
|
)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ $family-primary: 'Courier Prime', monospace;
|
|||||||
:root {
|
:root {
|
||||||
--font-family: var(#{$family-primary});
|
--font-family: var(#{$family-primary});
|
||||||
--font-color: #4a4a4a;
|
--font-color: #4a4a4a;
|
||||||
--background-color: white;
|
--background-color: #ffffff;
|
||||||
--note-width: 620px;
|
--note-width: 620px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,6 +33,7 @@ body {
|
|||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
background-color: var(--background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user