alberto-acevedo / cesium-navigation

Cesium plugin that adds to the Cesium map a compass, navigator (zoom in/out), and distance scale.
302 stars 123 forks source link

Add box-sizing property to navigation elements #4

Closed eric79 closed 8 years ago

eric79 commented 8 years ago

In our css we were using bootstrap and some other libraries that were setting box-sizing to 'border-box' and that threw off the positioning of the compass backgrounds and some of the other elements. But this fixes it all back up again.

Thanks for creating this, @alberto-acevedo !

alberto-acevedo commented 8 years ago

Eric,

Thank you for your contribution to the plugin. One of my projects was having the same issue with the compass backgrounds. I tested your fix and it works great. I will merge your pull request today.

Thanks,

Alberto

eric79 commented 8 years ago

Great! I'm glad it was helpful. :smile: