chrome table height in controls

This commit is contained in:
ntr 2019-08-12 18:15:39 +10:00
parent 500b5a89a4
commit 0507381e20
3 changed files with 16 additions and 0 deletions

View File

@ -11,6 +11,7 @@
* acp init
* DO postgres
* make our own toasts / msg pane
* send account_instances on players update
* only clear effects on post_resolve
electrify doesn't work if you ko the construct

View File

@ -13,6 +13,11 @@ aside {
padding: 1em 1em 1em 0;
// fix chrome being inconsistent
table {
height: 100%;
}
div {
text-align: right;
}

View File

@ -24,6 +24,16 @@ const addState = connect(
},
function receiveDispatch(dispatch) {
function accountPage() {
dispatch(actions.setGame(null));
dispatch(actions.setInstance(null));
dispatch(actions.setCombiner([]));
dispatch(actions.setReclaiming(false));
dispatch(actions.setActiveSkill(null));
dispatch(actions.setActiveConstruct(null));
dispatch(actions.setInfo(null));
dispatch(actions.setItemEquip(null));
dispatch(actions.setItemUnequip([]));
dispatch(actions.setVboxHighlight([]));
return dispatch(actions.setNav('account'));
}