Force same Icon/Item Height #200
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Heya, I've made some changes for you in e65d447 (which will be merged in PR #201 this evening), which set some height and width boundaries, and use object-fit: cover; which will slightly improve this :) But I think you're best solution would be to use a bit of CSS to modify this behavior, the selector you're looking for is |
Beta Was this translation helpful? Give feedback.
Heya,
So by default icons all have the same width and (as you mentioned) an automatic height. This is because if the height and width were both fixed, the icon would become stretched if it was not a perfect square.
I've made some changes for you in e65d447 (which will be merged in PR #201 this evening), which set some height and width boundaries, and use object-fit: cover; which will slightly improve this :)
But I think you're best solution would be to use a bit of CSS to modify this behavior, the selector you're looking for is
img.tile-icon