You've already forked obsidian-visualiser
Tag Prose, CommentSide fixes and standard component initiation
This commit is contained in:
@@ -44,23 +44,4 @@ const { data, status } = await useFetch(`/api/project/${project.value}/file`, {
|
||||
dedupe: 'defer',
|
||||
ignoreResponseError: true,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.tag
|
||||
{
|
||||
@apply bg-accent-blue;
|
||||
@apply bg-opacity-10;
|
||||
@apply hover:bg-opacity-20;
|
||||
@apply text-accent-blue;
|
||||
@apply text-sm;
|
||||
@apply px-1;
|
||||
@apply ms-1;
|
||||
@apply pb-0.5;
|
||||
@apply rounded-full;
|
||||
@apply rounded-se-none;
|
||||
@apply border;
|
||||
@apply border-accent-blue;
|
||||
@apply border-opacity-30;
|
||||
}
|
||||
</style>
|
||||
</script>
|
||||
5
components/prose/ProseTag.vue
Normal file
5
components/prose/ProseTag.vue
Normal file
@@ -0,0 +1,5 @@
|
||||
<template>
|
||||
<span class="cursor-default bg-accent-blue bg-opacity-10 hover:bg-opacity-20 text-accent-blue text-sm px-1 ms-1 pb-0.5 rounded-full rounded-se-none border border-accent-blue border-opacity-30">
|
||||
#<slot></slot>
|
||||
</span>
|
||||
</template>
|
||||
Reference in New Issue
Block a user