some css bullshit

This commit is contained in:
ntr
2019-06-04 21:07:23 +10:00
parent a754ee4c7e
commit a8fa6d102e
3 changed files with 22 additions and 34 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ const { connect } = require('preact-redux');
const preact = require('preact');
const { stringSort, NULL_UUID, COLOURS } = require('./../utils');
const { ConstructImg } = require('./construct');
const { ConstructAvatar } = require('./construct');
const actions = require('./../actions');
const InstanceCreateForm = require('./instance.create.form');
@@ -105,7 +105,7 @@ function List(args) {
<div
key={construct.id}
className="menu-construct" >
<ConstructImg name={construct.name} id={construct.id} />
<ConstructAvatar name={construct.name} id={construct.id} />
<h2>{construct.name}</h2>
</div>
);
+2 -2
View File
@@ -6,7 +6,7 @@ const actions = require('./../actions');
const { COLOURS } = require('./../utils');
const { stringSort } = require('./../utils');
const SpawnButton = require('./spawn.button');
const { ConstructImg } = require('./construct');
const { ConstructAvatar } = require('./construct');
const idSort = stringSort('id');
@@ -76,7 +76,7 @@ function Team(args) {
className="menu-construct"
style={ { 'border-color': borderColour || 'whitesmoke' } }
onClick={() => selectConstruct(construct.id)} >
<ConstructImg name={construct.name} id={construct.id} />
<ConstructAvatar name={construct.name} id={construct.id} />
<h2>{construct.name}</h2>
</div>
);