mirror of
https://github.com/decaf-dev/obsidian-vault-explorer.git
synced 2026-07-22 10:10:31 +00:00
commit
ab3b26574c
5 changed files with 68 additions and 29 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "vault-explorer",
|
||||
"name": "Vault Explorer",
|
||||
"version": "1.40.0",
|
||||
"version": "1.40.1",
|
||||
"minAppVersion": "1.4.13",
|
||||
"description": "Explore your vault in visual format",
|
||||
"author": "DecafDev",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-vault-explorer",
|
||||
"version": "1.40.0",
|
||||
"version": "1.40.1",
|
||||
"description": "Explore your vault in visual format",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -99,6 +99,8 @@
|
|||
});
|
||||
}
|
||||
|
||||
$: console.log(tags);
|
||||
|
||||
$: tagsClassName = `vault-explorer-list-item__tags ${isSmallScreenSize ? "vault-explorer-list-item__tags--screen-size-sm" : ""}`;
|
||||
$: titleClassName = `vault-explorer-list-item__title ${isSmallScreenSize ? "vault-explorer-list-item__title--screen-size-sm" : ""}`;
|
||||
</script>
|
||||
|
|
@ -148,19 +150,17 @@
|
|||
</div>
|
||||
</Stack>
|
||||
</div>
|
||||
{#if showTags}
|
||||
{#if showTags && tags !== null}
|
||||
<div class={tagsClassName}>
|
||||
{#if tags !== null}
|
||||
<Wrap
|
||||
spacingX="sm"
|
||||
spacingY="sm"
|
||||
justify={isSmallScreenSize ? "flex-start" : "flex-end"}
|
||||
>
|
||||
{#each tags as tag}
|
||||
<Tag name={tag} variant="unstyled" />
|
||||
{/each}
|
||||
</Wrap>
|
||||
{/if}
|
||||
<Wrap
|
||||
spacingX="sm"
|
||||
spacingY="sm"
|
||||
justify={isSmallScreenSize ? "flex-start" : "flex-end"}
|
||||
>
|
||||
{#each tags as tag}
|
||||
<Tag name={tag} variant="unstyled" />
|
||||
{/each}
|
||||
</Wrap>
|
||||
</div>
|
||||
{/if}
|
||||
</Wrap>
|
||||
|
|
|
|||
|
|
@ -224,16 +224,66 @@
|
|||
}
|
||||
|
||||
.vault-explorer-table-view table {
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:first-child,
|
||||
.vault-explorer-table-view td:first-child {
|
||||
.vault-explorer-table-view th:nth-child(1),
|
||||
.vault-explorer-table-view td:nth-child(1) {
|
||||
min-width: 300px;
|
||||
width: 300px;
|
||||
max-width: 300px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(2),
|
||||
.vault-explorer-table-view td:nth-child(2) {
|
||||
min-width: 125px;
|
||||
width: 125px;
|
||||
max-width: 125px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(3),
|
||||
.vault-explorer-table-view td:nth-child(3) {
|
||||
min-width: 150px;
|
||||
width: 150px;
|
||||
max-width: 150px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(4),
|
||||
.vault-explorer-table-view td:nth-child(4) {
|
||||
min-width: 200px;
|
||||
width: 200px;
|
||||
max-width: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(5),
|
||||
.vault-explorer-table-view td:nth-child(5) {
|
||||
min-width: 100px;
|
||||
width: 100px;
|
||||
max-width: 100px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(6),
|
||||
.vault-explorer-table-view td:nth-child(6) {
|
||||
min-width: 175px;
|
||||
width: 175px;
|
||||
max-width: 175px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(7),
|
||||
.vault-explorer-table-view td:nth-child(7) {
|
||||
min-width: 175px;
|
||||
width: 175px;
|
||||
max-width: 175px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view__title {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -256,18 +306,6 @@
|
|||
padding: 8px;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(4) {
|
||||
min-width: 250px;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(6) {
|
||||
min-width: 175px;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view th:nth-child(7) {
|
||||
min-width: 175px;
|
||||
}
|
||||
|
||||
.vault-explorer-table-view tr:hover:not(:has(th)) {
|
||||
background-color: var(--background-modifier-hover);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,5 +132,6 @@
|
|||
"1.37.2": "1.4.13",
|
||||
"1.38.0": "1.4.13",
|
||||
"1.39.0": "1.4.13",
|
||||
"1.40.0": "1.4.13"
|
||||
"1.40.0": "1.4.13",
|
||||
"1.40.1": "1.4.13"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue