Skip to content
Snippets Groups Projects
Unverified Commit 98d1aea8 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #4054 from paulkaplan/fix-long-string-layout

Give max-width to sprite tiles to prevent long names issue
parents 2c1e095c 2b132ed5
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@
.backpack-item {
min-width: 4rem;
max-width: 6rem;
margin: 0 0.25rem;
}
......
......@@ -31,6 +31,7 @@
*/
box-sizing: border-box;
width: calc((100% / $sprites-per-row ) - $space);
max-width: 6rem;
min-width: 4rem;
min-height: 4rem; /* @todo: calc height same as width */
margin: calc($space / 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment