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

As a web developer, I want to configure the font of this web component easily with CSS #24

Open
Piiit opened this issue Apr 27, 2020 · 1 comment

Comments

@Piiit
Copy link

Piiit commented Apr 27, 2020

Currently a hack is needed:

<script>
  var map = document.querySelector('e-mobility-map-widget');
  var mapDom = map.shadowRoot;
  mapDom.getElementById('e_mobility_map').style.fontFamily = "monospace";
</script>

See https://www.greenmobility.bz.it/it/green-mobility/colonnine/ for an example

@Piiit Piiit added the enhancement New feature or request label Apr 27, 2020
@Piiit
Copy link
Author

Piiit commented Apr 27, 2020

@rcavaliere FYI

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