Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'customPopupHtml' how to set css style? #16

Open
qiushi0908 opened this issue Aug 5, 2019 · 0 comments
Open

'customPopupHtml' how to set css style? #16

qiushi0908 opened this issue Aug 5, 2019 · 0 comments

Comments

@qiushi0908
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant