Skip to content

'customPopupHtml' how to set css style? #16

Description

@qiushi0908

I get popupView background is black; It is not my mind; And i how to setup style with pupupView?
Is lick this?

  customPopupHtml = task => {
    return `
    <style type="text/css">
    .details-container {
       width: 160px;
       background: #fff;
    }
    </style>
    <div class="details-container">
          <h5>${task.name}</h5>
          <p>Expected to finish by ${task._end}</p>
          <p>${task.progress}% completed!</p>
    </div>
    `;
  };

But the pupUpView bottom and top margin is still black!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions