Skip to content

Force same Icon/Item Height #200

Sep 4, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Lissy93
Comment options

@IzeQube
Comment options

Answer selected by Lissy93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants