fablabbcn / smartcitizen-web

The Smart Citizen Kit platform
https://smartcitizen.me
GNU Affero General Public License v3.0
13 stars 7 forks source link

Metrics icons in dropdown with wrong size #389

Closed oscgonfer closed 5 years ago

oscgonfer commented 5 years ago

@viktorsmari

Expected behaviour

Normal sized icons on kit selection dropdown, in the time series view of the kit's profile

Actual behaviour

Icons for metrics are oversized like in the image

imagen

How to reproduce?

Go to https://smartcitizen.me/kits/5565, and select a metric in the dropdown to view. Happens in both Firefox and Chrome.

viktorsmari commented 5 years ago

@tuengominh can this be related to the changes you did the other day?

tuengominh commented 5 years ago

@viktorsmari I inspected already. From what I see this is not related to the changes I did (I changed the fixed size of class sensor_icon from previously 14px to 22px). The dropdown icons Oscar mentioned using another class select_image and < img > tag. I think those dropdown icons must use < md-icon > tag and the sensor_icon class like the rest. Lemme fix this issue.