Skip to content

Widgets with makeWidget does not respect grid margin #3105

@muuvmuuv

Description

@muuvmuuv

Subject of the issue

Adding existing html items inside grid wont add the defined margin that is defined in the grid options on init.

Your environment

  • version of gridstack.js 12.2
  • which browser/OS Brave

Steps to reproduce

https://jsfiddle.net/26myha3q/

Expected behavior

...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions