Skip to content

Commit

Permalink
Minor styling fix for Obsidian 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed May 9, 2024
1 parent 165c854 commit eee73e4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-hover-editor",
"name": "Hover Editor",
"version": "0.11.17",
"version": "0.11.18",
"minAppVersion": "1.4.16",
"description": "Transform the Page Preview hover popover into a fully working editor instance",
"author": "NothingIsLost",
Expand Down
9 changes: 9 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ body {
width: 100%;
}

/*
Obsidian 1.6 sets a different background for non-root splits,
then uses primary as an override at root. Since hover editors
don't live in a root split, we have to copy the override:
*/
.popover.hover-editor .workspace-split .view-content {
background-color: var(--background-primary);
}

.popover.hover-editor {
min-height: unset;
max-height: unset;
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"0.11.18": "1.5.8",
"0.11.17": "1.4.16",
"0.11.15": "1.3.5",
"0.11.12": "0.15.9",
Expand Down

0 comments on commit eee73e4

Please sign in to comment.