Vue-material: Conflict with Leaflet.heat (heatmap don't show up)

Created on 28 Mar 2017  路  4Comments  路  Source: vuematerial/vue-material

It resumes to a CSS problem.
If vue-material.css is loaded (regardless of loading order), Leaflet.heat simply won`t show up.
Any ideas?

bug

All 4 comments

It has something to do with canvas...

font-family:Roboto,Noto Sans,Noto,sans-serif}ul:not(.md-list)>li+li{margin-top:8px}audio,canvas,embed,iframe,img,object,svg,video{max-width:100%;

Removing that canvas reference, the error is gone.

Try override max-width for that element i think that helps, max-width:none!important

Solved! Thanks :)

P.S.: For other seeking guidance, the max-width must be applied to the canvas tag.

<style>
    canvas {
        max-width: none !important
    }
</style>

I'm going to close this issue. If you feel that there's an actual change that needs to be made to vue material (better css scoping, probably), please open a separate issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

markus-s24 picture markus-s24  路  3Comments

Feduch picture Feduch  路  3Comments

jtouzy picture jtouzy  路  3Comments

tridcatij picture tridcatij  路  3Comments

delueg picture delueg  路  3Comments