This commit is contained in:
2021-04-04 16:22:25 +02:00
parent 006ad63747
commit 32fc87b9e4
2 changed files with 7 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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) {