resize stuff

This commit is contained in:
ntr
2019-11-22 16:36:11 +11:00
parent 2d3c6cd18c
commit 3a0692a2a5
3 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ function combinerBtn(props) {
let bits = 0;
storeSelect.forEach(item => bits += item[0] + 1);
text = bits
? `${comboItem} - ${bits}b`
? `Buy ${comboItem} - ${bits}b`
: `Combine - ${comboItem}`;
if (vbox.bits >= bits) mouseEvent = sendVboxCombine;
} else if (stashSelect.length === 0 && storeSelect.length === 1) {
+1 -1
View File
@@ -182,7 +182,7 @@ class Vbox extends preact.Component {
onMouseOver={e => vboxHover(e, 'store')}> STORE
</h3>
<div class={`bits ${vbox.bits < 3 ? 'red' : false}`} onMouseOver={e => vboxHover(e, 'bits')}>
<h2> {vbox.bits}b </h2>
<h1> {vbox.bits}b </h1>
</div>
<button
class='vbox-btn'