mirror of
https://github.com/gnoxnahte/obsidian-auto-embed.git
synced 2026-07-22 09:50:24 +00:00
Fix web images not showing up for some situations
This commit is contained in:
parent
ae72048f93
commit
87f93d0e02
1 changed files with 4 additions and 4 deletions
|
|
@ -20,15 +20,15 @@ img[src^="http:"]:has(+ .auto-embed-container:not(.auto-embed-hide-display)),
|
|||
}
|
||||
|
||||
/* When the cursor is on the line with the embed */
|
||||
.auto-embed-container + img[src^="https:"],
|
||||
.auto-embed-container + img[src^="http:"]
|
||||
.auto-embed-container:not(.auto-embed-hide-display) + img[src^="https:"],
|
||||
.auto-embed-container:not(.auto-embed-hide-display) + img[src^="http:"]
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* When it's in a list */
|
||||
.HyperMD-list-line:has(+ .auto-embed-container) img[src^="https:"],
|
||||
.HyperMD-list-line:has(+ .auto-embed-container) img[src^="http:"]
|
||||
.HyperMD-list-line:has(+ .auto-embed-container:not(.auto-embed-hide-display)) img[src^="https:"],
|
||||
.HyperMD-list-line:has(+ .auto-embed-container:not(.auto-embed-hide-display)) img[src^="http:"]
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue