obsidian-digital-garden
obsidian-digital-garden copied to clipboard
Transcluded SVG images overflow viewport on mobile devices
Related to #429, it appears that the viewport overflow issue still affects SVG images. I had a browse in the commit history and am not too sure where the fix for bitmap images was situated, but I think https://github.com/oleeskild/obsidian-digital-garden/commit/aec29b8657f1c7a7076cc2cb090cf116de2daf14 may be relevant?
I use a little Workaround for now, I don't know if it helps (really no solution, thou): I added some custom CSS:
.content svg {
width: 100%; /* Set SVG to 100% width relative to .content */
height: auto; /* Set height to auto-fit (keep apsect ratio) */
}