Canvas - images don't scale in edit mode for small card sizes

Steps to reproduce

Take a large image, embed in a note
![[image.png]]

Put the note in a canvas and re-size the card so it is bigger than the image.
Notice the full image is shown without scaling

Now drag the size of the card to be smaller and watch the image scale to fit within the card size
image

Now click inside the card to enter edit mode

image

Observe that the image is blown up and is not scaling in edit mode down to within the bounds of the edit area.

Expected result

We should see the image scaled correctly in edit mode when the size of the card is smaller than the image

Actual result

We do not see the image scaled correctly in edit mode when the size of the card is smaller than the image

Environment

  • Operating system: Linux
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v1.1.9
    Installer version: v1.1.9
    Operating system: #1 SMP Fri, 03 Feb 2023 20:22:45 +0000 5.15.91-4-lts
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Restricted mode: on

RECOMMENDATIONS:
none

thanks

will be fixed 1.1.16

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.