Skip to content

Commit

Permalink
fix: Obsidian 0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
kometenstaub committed Aug 13, 2022
1 parent 75c5cf1 commit 70a1530
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Expand Up @@ -2,7 +2,7 @@
"id": "obsidian-version-history-diff",
"name": "Version History Diff",
"version": "2.0.5",
"minAppVersion": "0.13.30",
"minAppVersion": "0.16.0",
"description": "Diff the version history of the core Sync and File Recovery plugins and Git. Adds a command to open the core Sync version history as well.",
"author": "kometenstaub",
"authorUrl": "https://github.com/kometenstaub",
Expand Down
18 changes: 12 additions & 6 deletions src/styles.scss
Expand Up @@ -111,17 +111,17 @@ mode from @SlRvb, which fall under the same license (MIT license, @kometenstaub
margin-left: auto;
}
.d2h-lines-added {
border: 1px solid var(--interactive-success);
border: 1px solid var(--color-green);
border-radius: 5px 0 0 5px;
color: var(--interactive-success);
color: var(--color-green);
padding: 2px;
text-align: right;
vertical-align: middle;
}
.d2h-lines-deleted {
border: 1px solid var(--text-error);
border: 1px solid var(--color-red);
border-radius: 0 5px 5px 0;
color: var(--text-error);
color: var(--color-red);
margin-left: 1px;
padding: 2px;
text-align: left;
Expand All @@ -142,7 +142,7 @@ mode from @SlRvb, which fall under the same license (MIT license, @kometenstaub
text-overflow: ellipsis;
white-space: nowrap;
color: var(--text-normal);
font-size: var(--h5);
font-size: var(--h5-size);
}
.d2h-file-wrapper {
border: 1px solid var(--background-secondary-alt);
Expand Down Expand Up @@ -443,10 +443,16 @@ mode from @SlRvb, which fall under the same license (MIT license, @kometenstaub

button.mod-cta {
margin-left: 0.5em;
margin-right: 0.5em;
margin-top: 0.5em;

+ .sync-history-list.sync-history-list {
margin-top: 0em;
}
}

.sync-history-list {
padding-top: 0.5em;
margin-top: 1.5em;

.sync-history-list-item {
border-radius: 0.25em;
Expand Down
4 changes: 3 additions & 1 deletion versions.json
@@ -1,3 +1,5 @@
{
"0.0.1": "0.12.19"
"0.0.1": "0.12.19",
"2.0.5": "0.12.19",
"2.0.6": "0.16.0"
}

0 comments on commit 70a1530

Please sign in to comment.