Give max-width to sprite tiles to prevent long names issue
This commit is contained in:
1 parent
9c736fa8ac
commit
2b132ed5bd
2 files changed
+2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user