that'll do

This commit is contained in:
ntr 2019-11-24 23:34:43 +11:00
parent 4df4f3a785
commit 8a2e8dbab1
5 changed files with 4 additions and 6 deletions

View File

@ -155,7 +155,7 @@
// portrait menu or small size vertical in landscape // portrait menu or small size vertical in landscape
@media (max-width: 550px) { @media (max-width: 550px) and (max-height: 800px) {
#mnml { #mnml {
grid-template-columns: 1fr; grid-template-columns: 1fr;
grid-template-rows: 1fr; grid-template-rows: 1fr;

View File

@ -3,7 +3,7 @@
grid-area: vbox; grid-area: vbox;
display: grid; display: grid;
grid-template-rows: 3fr 2fr; grid-template-rows: 3fr 2fr;
grid-template-columns: 1fr 4fr 6fr 17em; // =\ grid-template-columns: 1fr 4fr 6fr minmax(min-content, 17em); // =\
grid-template-areas: grid-template-areas:
"store-hdr store info combos" "store-hdr store info combos"
"stash-hdr stash combiner combos"; "stash-hdr stash combiner combos";

View File

@ -15,7 +15,7 @@ function Mnml(args) {
instance, instance,
} = args; } = args;
const rotateClass = (game || instance) && window.innerWidth < window.innerHeight const rotateClass = (game || instance) && window.innerHeight < 600 && window.innerWidth < window.innerHeight
? 'show' ? 'show'
: ''; : '';

View File

@ -3,10 +3,7 @@ const { connect } = require('preact-redux');
const reactStringReplace = require('react-string-replace'); const reactStringReplace = require('react-string-replace');
const countBy = require('lodash/countBy'); const countBy = require('lodash/countBy');
const specThresholds = require('./vbox.info.thresholds');
const { INFO } = require('./../constants');
const { convertItem, removeTier } = require('../utils'); const { convertItem, removeTier } = require('../utils');
const { tutorialStage } = require('../tutorial.utils');
const shapes = require('./shapes'); const shapes = require('./shapes');
const actions = require('../actions'); const actions = require('../actions');

View File

@ -3,6 +3,7 @@ const range = require('lodash/range');
const shapes = require('./shapes'); const shapes = require('./shapes');
function specThresholds(player, fullInfo, info) { function specThresholds(player, fullInfo, info) {
if (!info) return false;
let red = 0; let red = 0;
let blue = 0; let blue = 0;
let green = 0; let green = 0;