Recommended way to deal with overwriting #241
Unanswered
matthiasschaub
asked this question in
Help
Replies: 1 comment 3 replies
-
Not necessarily the "recommended way", just my way. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I love using pico.css. Using LeafletJS or OpenLayers I embed a map on my website. Since pico.css styles HTML elemtents the elements such as buttons of the embedded map are also styled, but do not look great. See this image.
A minimal example can be found here https://github.com/matthiasschaub/pico-map-playground
Relevant code snippets are:
HTML:
custom.css
Using following css:
The map will look like this (notice the +/- zoom buttons in the upper left corner and the missing layer buttons)
Is there a recommended way in the spirit of pico.css to deal with such cases. E.g. disable styling for the map but keep default style of buttons.
Beta Was this translation helpful? Give feedback.
All reactions