Skip to content

BackgroundSize cover doesnt work #714

@alexnguyen98

Description

@alexnguyen98

Bug report

Description / Observed behaviour

My goal was to stretch the background image to the size of the parent without stretching it. Normally this works in css with background-size: "cover".

What kind of issues did you encounter with Satori?
The library currently ignores this behaviour that is standard in css.

Reproduction

Create a shareable reproduction link for the issue using https://og-playground.vercel.app.

Demo here: Satoshi demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions