Skip to content

Commit 68cc752

Browse files
author
TfT Hacker
committed
2.3.2 Compatibility fix for editing toolbar
1 parent ef3455d commit 68cc752

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# # 2.3.1
1+
# 2.3.2
2+
- Fix: When using editing toolbar configured for showing toolbar at top, the SNW reference counter overlapped. The CSS was mofiied to prevent this. [#155](https://github.com/TfTHacker/obsidian42-strange-new-worlds/issues/155).
3+
4+
# 2.3.1
25
- Change: if a link is the only link in the vault to a destination (thus the reference count is 1), the reference counter will not be shown next to the link, regardless of the minimum threshold count set in settings. This makes sense. If the link is used once, its obvious without the counter, and the counter simply stating the link has one reference was redudant and annoying to many users.
36

47
# 2.3.0

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "obsidian42-strange-new-worlds",
33
"name": "Strange New Worlds",
4-
"version": "2.3.1",
4+
"version": "2.3.2",
55
"minAppVersion": "1.7.2",
66
"description": "Help see how your vault is interconnected with visual indicators.",
77
"author": "TfTHacker",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian42-strange-new-worlds",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"description": "Revealing networked thought and the strange new worlds created by your vault",
55
"scripts": {
66
"dev": "node --no-warnings esbuild.config.mjs",

styles.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,20 @@ div:has(> .snw-reference),
196196
z-index: 1000;
197197
}
198198

199+
/* Modification for when Edting Toolbar plugin is used */
200+
.view-content:has(.top.cMenuToolbarDefaultAesthetic),
201+
.view-content:has(.top.cMenuToolbarTinyAesthetic) {
202+
.snw-header-count-wrapper {
203+
top: 80px;
204+
}
205+
}
206+
207+
.view-content:has(.top.cMenuToolbarGlassAesthetic) {
208+
.snw-header-count-wrapper {
209+
top: 70px;
210+
}
211+
}
212+
199213
.snw-header-count {
200214
text-align: center;
201215
}
@@ -313,8 +327,6 @@ div:has(> .snw-reference),
313327
font-weight: var(--nav-item-weight);
314328
}
315329

316-
317-
318330
.snw-sort-dropdown-list-item {
319331
padding-left: 5px;
320332
}
@@ -330,7 +342,6 @@ div:has(> .snw-reference),
330342
}
331343

332344

333-
334345
/* prevent printing of reference numbers */
335346
@media print {
336347
.snw-reference {

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
"2.2.0": "1.7.2",
1515
"2.2.1": "1.7.2",
1616
"2.3.0": "1.7.2",
17-
"2.3.1": "1.7.2"
17+
"2.3.1": "1.7.2",
18+
"2.3.2": "1.7.2"
1819
}

0 commit comments

Comments
 (0)