obsidian-webpage-export icon indicating copy to clipboard operation
obsidian-webpage-export copied to clipboard

[Bug] [1.8.01]: SVG icon width is abnormal, the collapse button is blank.

Open wcbing opened this issue 1 year ago • 5 comments

What happened?

The width of the embedded SVG in the generated webpage is abnormal; the collapse button will not be displayed unless it is manually clicked once.

The SVG mainly refers to the embedded sidebar-collapse-icon, whose width (stroke-width) is set to 3. Check the CSS properties of the SVG, and it only generated this part here.

-

When checking the official website, it has an additional attribute setting "stroke-width: var(--icon-stroke);", which overrides the default width of 3.

-

Cancel it and you can see that the width has returned to 3.

-

I've tried it on multiple computers, it's all like this. So I hope to set the default width (stroke-width) of this svg to 1.

Also, if you look at the first picture, the “collapse-tree-button” is blank and will only appear after you click it manually. This is what it looks like after you click it.

-

I encountered these two problems half a year ago. At that time, I manually modified the width. Now I need to update the content and find that the problem with the extension still exists.

Reproduction

This has been the case with maybe any new installation of Obsidian. Below is the static file generated by a recent installation of Obsidian and this extension on Windows, I haven't modified any of the configurations. -

Last Working Version

No response

Version

1.8.01

Operating System

Debian, Arch, Windows

Obsidian Version

1.6.7

Which browsers can you reproduce this in?

No response

Relevant log output

N/A

Additional Info

No response

wcbing avatar Sep 10 '24 07:09 wcbing

Thanks, it's likely this is all fixed in the beta version. Could you give it a try and let me know if it works any better :)

KosmosisDire avatar Sep 11 '24 15:09 KosmosisDire

Indeed, the style has been fixed in the beta version.

Hopefully the official version can be released soon.

wcbing avatar Sep 12 '24 01:09 wcbing

Your 1.9 has been in beta for a long time, probably because you are afraid of undetected issues, but 1.8 is definitely known to have problems, and there is a big problem affecting the display, all downloads on Obsidian Store will show exceptions. You can't ask everyone to download it from github, so I think you should try updating the new version in Obsidian store even if it's not perfect.

Don't over-pursue perfection, the bugs should be modified step by step. 😂

wcbing avatar Dec 15 '24 10:12 wcbing

@wcbing Thanks, It is actually more that there are things that are just incomplete or features which have been removed temporarily and they need to be added back. But I definetly agree with you and I hope to get it released during the holidays while I am on break from school.

Thanks!

KosmosisDire avatar Dec 17 '24 19:12 KosmosisDire

OK

All the best in your studies 🌟

wcbing avatar Dec 18 '24 05:12 wcbing