Skip to content

Commit

Permalink
Fix styles and bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mottox2 committed Feb 12, 2024
1 parent 87dca88 commit 464410d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-relation-pane",
"name": "Relation Pane",
"version": "0.0.4",
"version": "0.0.5",
"minAppVersion": "1.0.0",
"description": "This plugin displays a panel that summarize relations between notes.",
"author": "mottox2",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-relation-pane",
"version": "0.0.4",
"version": "0.0.5",
"description": "Obsidian (https://obsidian.md) plguin to summarize relations between notes",
"main": "main.js",
"scripts": {
Expand Down
16 changes: 5 additions & 11 deletions src/ui/Pane.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{:else}
<div class="tree-item-self">
<div class="tree-item-inner">Links</div>
<div class="tree-item-flair-counter">
<div class="tree-item-flair-outer">
<div class="tree-item-flair">{$store.links.length}</div>
</div>
</div>
Expand All @@ -48,7 +48,7 @@
</div>
<div class="tree-item-self">
<div class="tree-item-inner">Backlinks</div>
<div class="tree-item-flair-counter">
<div class="tree-item-flair-outer">
<div class="tree-item-flair">{$store.backLinks.length}</div>
</div>
</div>
Expand All @@ -72,7 +72,7 @@
{#if links.length > 0}
<div class="tree-item-self">
<div class="tree-item-inner">{fileName(file)}</div>
<div class="tree-item-flair-counter">
<div class="tree-item-flair-outer">
<div class="tree-item-flair">{links.length}</div>
</div>
</div>
Expand All @@ -92,7 +92,7 @@
{/each}
<div class="tree-item-self">
<div class="tree-item-inner">New Links</div>
<div class="tree-item-flair-counter">
<div class="tree-item-flair-outer">
<div class="tree-item-flair">{$store.newLinks.length}</div>
</div>
</div>
Expand All @@ -112,10 +112,4 @@
{/if}
</div>
{/if}
</div>

<style>
.tree-item-self {
align-items: center;
}
</style>
</div>
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"0.0.1": "1.0.0",
"0.0.2": "1.0.0",
"0.0.3": "1.0.0",
"0.0.4": "1.0.0"
"0.0.4": "1.0.0",
"0.0.5": "1.0.0"
}

0 comments on commit 464410d

Please sign in to comment.