camptocamp / ngeo

Library combining OpenLayers and AngularJS
https://camptocamp.github.io/ngeo/master/examples
MIT License
135 stars 87 forks source link

Background color of legends #2365

Closed rbovard closed 7 years ago

rbovard commented 7 years ago

Why use a grey background for legends on mobile?

image

It's much better without like it is in desktop:

image

kalbermattenm commented 7 years ago

Same issue on desktop app

fredj commented 7 years ago

See https://github.com/camptocamp/c2cgeoportal/wiki/Spec-%231708-Layertree-desktop#legend "Complete legend (when available) is displayed using a light gray background."

fredj commented 7 years ago

FYI, here's an example how to remove the background and border: https://github.com/camptocamp/ngeo/commit/0102d8979163881f53845fb5fc9acada9ad41f3a

rbovard commented 7 years ago

Okay, thanks @fredj.