fablabbcn/smartcitizen-web

Metrics icons in dropdown with wrong size

Closed this issue · 2 comments

@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.

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

@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.