Skip to content

Zoom doesn't work if image is already styled with zoom: 50% #10

@sheng-di

Description

@sheng-di

In markdown files, if we already set some images' style to be zoom: 50%, this plugin resulsts in wrong position and size, and leaves user a blank screen。

case:

or in React:
<img src="xxx" style={{ zoom: '50%' }} />

results:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions