Skip to content

The CSS is not attached anymore #485

@Fil

Description

@Fil

Since 13052a8 the bundle misses the lines that add the default styles:

if (typeof document !== 'undefined') {
  const style = document.createElement('style');
  style.textContent = '.plot{display:block;font:10px system-ui,sans-serif;background:#fff;height:auto;height:intrinsic;max-width:100%}.plot text{white-space:pre}';
  document.head.appendChild(style);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions